Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Philosophy: A route of many roads leading from nowhere to nothing. -- Ambrose Bierce


computers / comp.text.pdf / Re: Fonts in PDF

SubjectAuthor
* Fonts in PDFStefan Ram
`* Re: Fonts in PDFStefan Ram
 +* Re: Fonts in PDFStefan Ram
 |`- Re: Fonts in PDFStefan Ram
 +* Re: Fonts in PDFCarlos E.R.
 |`- Re: Fonts in PDFStefan Ram
 `* Re: Fonts in PDFPeter Flynn
  +* Re: Fonts in PDFStefan Ram
  |`- Re: Fonts in PDFPeter Flynn
  `* Re: Fonts in PDFKen Sharp
   +* Re: Fonts in PDFPeter Flynn
   |`- Re: Fonts in PDFKen Sharp
   `* Re: Fonts in PDFCarlos E.R.
    `- Re: Fonts in PDFPeter Flynn

1
Fonts in PDF

<fonts-20240331110639@ram.dialup.fu-berlin.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=325&group=comp.text.pdf#325

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.text.pdf
Subject: Fonts in PDF
Date: 31 Mar 2024 10:08:29 GMT
Organization: Stefan Ram
Lines: 11
Expires: 1 Feb 2025 11:59:58 GMT
Message-ID: <fonts-20240331110639@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de Hv5pOKNzsN0PNEfrI2FnrAnpiMx8b+MUmEnyeFRKKJFwWL
Cancel-Lock: sha1:sErxYiky8icM3ZwkeFmVUbYp/rc= sha256:5jvix25bho4yeMYwp/6uPO2GeJf6/CdfDejnoPhCHVM=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
X-Content-By-Chatbot: False
 by: Stefan Ram - Sun, 31 Mar 2024 10:08 UTC

I have generated a PDF file using a program where I have requested a
certain font. Now, the PDF file is indeed being shown with that font.

So, now I wonder/worry: If this special font is part of my PDF file,
do I need a license for this font before I am allowed to give the file
to someone else?

As a special technical detail: All the PDF viewers I have
installed do not show me the fonts used in a document and
whether they are embedded or not. How could I get this
information for a given PDF file? TIA!

Re: Fonts in PDF

<Georgia-20240331131821@ram.dialup.fu-berlin.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=326&group=comp.text.pdf#326

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.text.pdf
Subject: Re: Fonts in PDF
Date: 31 Mar 2024 12:18:51 GMT
Organization: Stefan Ram
Lines: 25
Expires: 1 Feb 2025 11:59:58 GMT
Message-ID: <Georgia-20240331131821@ram.dialup.fu-berlin.de>
References: <fonts-20240331110639@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de J5TL/DMEULPK7DkXAAIqcwbMYvczt8lypgUhhpQ8Z0ftcW
Cancel-Lock: sha1:IInnIBwWigewXoQAwdIIPoI3cFI= sha256:ZEKHkaVldkho0nTCkA8EFs+hNoIYB2RkiJ+9IRfBiao=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
X-Content-By-Chatbot: False
 by: Stefan Ram - Sun, 31 Mar 2024 12:18 UTC

ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
>I have generated a PDF file using a program where I have requested a
>certain font. Now, the PDF file is indeed being shown with that font.

After looking at the decoded streams in the PDF file, I found indeed:

|2006 Microsoft Corporation. All Rights Reserved. Georgia is
|either a registered trademark or a trademark of Microsoft
|Corporation in the United States and/or other countries.
|Microsoft Georgia Bold Version 5.00 Georgia-Bold Carter &
|Cone Matthew Carter You may use this font as permitted by the
|EULA for the product in which this font is included to
|display and print content. You may only (i) embed this font
|in content as permitted by the embedding restrictions
|included in this font; and (ii) temporarily download this
|font to a printer or other output device to help print
|content.

. So it seems that the PDF generator has embedded Georgia.

I wonder whether I can now process the PDF to remove this embedding
and use the Georgia font at the reader's site (if available)?

Is there a list of fonts that are always available for PDF and
do not need to be embedded?

Re: Fonts in PDF

<fonts-20240331142829@ram.dialup.fu-berlin.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=327&group=comp.text.pdf#327

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.text.pdf
Subject: Re: Fonts in PDF
Date: 31 Mar 2024 13:28:40 GMT
Organization: Stefan Ram
Lines: 7
Expires: 1 Feb 2025 11:59:58 GMT
Message-ID: <fonts-20240331142829@ram.dialup.fu-berlin.de>
References: <fonts-20240331110639@ram.dialup.fu-berlin.de> <Georgia-20240331131821@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 18EaBxbSCrdy1C6yGGWY8QXM+PHa1Rxmi7ajU9kQR8tgIH
Cancel-Lock: sha1:5qjXYVpkl0Gukaq71LBvh4bcxs4= sha256:Zrr4O5853pVFGjdC7GqtvYeKNQvTf2dJTdYRi6TNwlM=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: de-DE-1901
X-Content-By-Chatbot: False
 by: Stefan Ram - Sun, 31 Mar 2024 13:28 UTC

ram@zedat.fu-berlin.de (Stefan Ram) schrieb oder zitierte:
>Is there a list of fonts that are always available for PDF and
>do not need to be embedded?

Yes. There are 14 standard font, like "Times". But even if
I use "Times", my PDF creator will still embed it. I also
tried the name "Times-Roman".

Re: Fonts in PDF

<embedding-20240331143048@ram.dialup.fu-berlin.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=328&group=comp.text.pdf#328

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.text.pdf
Subject: Re: Fonts in PDF
Date: 31 Mar 2024 13:31:07 GMT
Organization: Stefan Ram
Lines: 7
Expires: 1 Feb 2025 11:59:58 GMT
Message-ID: <embedding-20240331143048@ram.dialup.fu-berlin.de>
References: <fonts-20240331110639@ram.dialup.fu-berlin.de> <Georgia-20240331131821@ram.dialup.fu-berlin.de> <fonts-20240331142829@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 7AihO0AbOcUnSYnOrttvbAJrSJv/kEXiw5lTaXJj2KqGmB
Cancel-Lock: sha1:tG6V8OBv3RT+UDbNScPBWlSwYA0= sha256:OCqGrkKL2qWlyzDYp8UjFcM0BHTet5g8Tv0Ys56XKl0=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
 by: Stefan Ram - Sun, 31 Mar 2024 13:31 UTC

ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
>Yes. There are 14 standard font, like "Times". But even if
>I use "Times", my PDF creator will still embed it. I also
>tried the name "Times-Roman".

Or I would like to learn about fonts which clearly allow their
embedding for free.

Re: Fonts in PDF

<bj2pdkxu3r.ln2@Telcontar.valinor>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=329&group=comp.text.pdf#329

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!rocksolid2!news.neodome.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: comp.text.pdf
Subject: Re: Fonts in PDF
Date: Sun, 31 Mar 2024 23:53:15 +0200
Lines: 119
Message-ID: <bj2pdkxu3r.ln2@Telcontar.valinor>
References: <fonts-20240331110639@ram.dialup.fu-berlin.de>
<Georgia-20240331131821@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net rMUSUlm2Z2GWDIedZktDHARlcpySh3X1q5argzrdqyzj5U35Lb
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:1E/f3f2gMtEdMezvLQG3SHV4GUE= sha256:sVZ+xQ4Ko5CDjN+BK3YeJilxXOE5YtepZcqqpkgretw=
User-Agent: Mozilla Thunderbird
Content-Language: es-ES, en-CA
In-Reply-To: <Georgia-20240331131821@ram.dialup.fu-berlin.de>
 by: Carlos E.R. - Sun, 31 Mar 2024 21:53 UTC

On 2024-03-31 14:18, Stefan Ram wrote:
> Is there a list of fonts that are always available for PDF and
> do not need to be embedded?

Very few fonts, 4 or 6; I had that list, but they stopped being useful because modern software can't use them (LibreOffice).

In Linux, pdffonts tells you that information:

cer@Telcontar:~/Documents> pdffonts fonts.pdf
name type encoding emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
BAAAAA+LiberationSerif TrueType WinAnsi yes yes yes 24 0
Times-Roman Type 1 WinAnsi no no no 40 0
DAAAAA+LiberationSans TrueType WinAnsi yes yes yes 34 0
Helvetica Type 1 WinAnsi no no no 43 0
NimbusSanL-Regu Type 1 Builtin yes no yes 39 0
GAAAAA+LiberationMono TrueType WinAnsi yes yes yes 29 0
Courier Type 1 WinAnsi no no no 42 0
Symbol Type 1 Symbol no no no 41 0
cer@Telcontar:~/Documents> pdffonts fonts.pdf

Look at the column "emb".

The fonts names in LibreOffice were "Times", "Helvetica", "Symbol". They were called "printer fonts", I think.

Ah, found and old email from 2008, when I asked about them:

+++---------------------------------
,----[ Base 14 Fonts ]
| 1. Times-Roman
| 2. Times-Italic
| 3. Times-Bold
| 4. Times-BoldItalic
| 5. Helvetica
| 6. Helvetica-Oblique
| 7. Helvetica-Bold
| 8. Helvetica-BoldOblique
| 9. Courier
| 10. Courier-Oblique
| 11. Courier-Bold
| 12. Courier-BoldOblique
| 13. Symbol
| 14. ZapfDingbats
`----

These are the fonts that are guaranteed to come with every Postscript
printer originally are in the postscript specs. The are mapped to a set
of cloned fonts (donated by URW) by Ghostscript for printing.
---------------------------------++-

+++---------------------------------
There is also an extended set (also mapped to URW fonts by Ghostscript)
called base 35. In addition, these fonts are includes:

,----[ Additions to Base 14 to Make Base 35 ]
| 15. AvantGarde-Book
| 16. AvantGarde-BookOblique
| 17. AvantGarde-Demi
| 18. AvantGarde-DemiOblique
| 19. Bookman-Demi
| 20. Bookman-DemiItalic
| 21. Bookman-Light
| 22. Bookman-LightItalic
| 23. Helvetica-Narrow
| 24. Helvetica-Narrow-Bold
| 25. Helvetica-Narrow-BoldOblique
| 26. Helvetica-Narrow-Oblique
| 27. NewCenturySchlbk-Bold
| 28. NewCenturySchlbk-BoldItalic
| 29. NewCenturySchlbk-Italic
| 30. NewCenturySchlbk-Roman
| 31. Palatino-Bold
| 32. Palatino-BoldItalic
| 33. Palatino-Italic
| 34. Palatino-Roman
| 35. ZapfChancery-MediumItalic
`----

These are some times referred to as the "35 classical postscript fonts".

---------------------------------++-

+++---------------------------------
FWIW, the current "best practice" in PDF generation is to also embed (subsets of) the 14 standard fonts.

Or, as the PDF specs says several times (on p.411-416 for PDF 1.7):

Note: Beginning with PDF 1.5, the special treatment given to the
standard 14 fonts is deprecated. All fonts used in a PDF document
should be represented using a complete font descriptor. For
backwards capability, viewer applications must still provide the
special treatment identified for the standard 14 fonts.

"Best practice" is not only to include font descriptors, but also the font programs. Acrobat Distiller does it
(there is a special profile ``smallest file size'' to not embed them), pdfTeX or dvips in their default
configuration do it, and most other publishing systems do this as well. Thus I doubt that OOo will change the
default. You're right that it should give you the choice, though.

Just my 0.02 EUR, from an OOo outsider. (I belong to the TeX developer community.)

Joachim

---------------------------------++-

I was looking for information about why these fonts stopped being supported (at least in Linux LibreOffice), but did not find it.

Found this reference, which is related:

https://ask.libreoffice.org/t/how-to-access-printer-built-in-fonts/23946/5

--
Cheers, Carlos.

Re: Fonts in PDF

<license-20240331230549@ram.dialup.fu-berlin.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=330&group=comp.text.pdf#330

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.text.pdf
Subject: Re: Fonts in PDF
Date: 31 Mar 2024 22:07:51 GMT
Organization: Stefan Ram
Lines: 11
Expires: 1 Feb 2025 11:59:58 GMT
Message-ID: <license-20240331230549@ram.dialup.fu-berlin.de>
References: <fonts-20240331110639@ram.dialup.fu-berlin.de> <Georgia-20240331131821@ram.dialup.fu-berlin.de> <bj2pdkxu3r.ln2@Telcontar.valinor>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de nbS0r4YRaNeB8yyxRJV0rwiJDpGqYfgoYDLpq1XeSxKabF
Cancel-Lock: sha1:NYQPIzBHAeltLqzJTJjGirGtENI= sha256:b+v+Gz4IHgAeM/s3Kd7tid1prBlDIXU8Sx0ozdVxwCg=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
 by: Stefan Ram - Sun, 31 Mar 2024 22:07 UTC

"Carlos E.R." <robin_listas@es.invalid> wrote or quoted:
>FWIW, the current "best practice" in PDF generation is to also embed (subsets of) the 14 standard fonts.

Ah. In the meantime, I tried to use "Times" and observed that
it was still embedded. And it is very hard to get free software
to remove such embedded fonts.

So now I will take another way: I am going to embed fonts which
have a free license like the SIL OFL (open font license) or the
Apache license. The Apache license might require that one adds
a copy of the license to the PDF, so I might prefer the OFL.

Re: Fonts in PDF

<l777fhFeibnU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=337&group=comp.text.pdf#337

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.pdf
Subject: Re: Fonts in PDF
Date: Thu, 4 Apr 2024 09:42:25 +0100
Organization: Usenet Labs Bozon Detector Facility
Lines: 75
Message-ID: <l777fhFeibnU1@mid.individual.net>
References: <fonts-20240331110639@ram.dialup.fu-berlin.de>
<Georgia-20240331131821@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net gb+8Z4Q+Bdri3b/qqpczgQdGwDvXUU3pxhWLP/i2wPXWeRL+5a
Cancel-Lock: sha1:Bpiq9QEjx0at0AK+Pd/Vd5YZf8I= sha256:OcLxEBIZsJ3ssxQTaqCW4x4JMzKayLthncNi9rZ4vOA=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <Georgia-20240331131821@ram.dialup.fu-berlin.de>
 by: Peter Flynn - Thu, 4 Apr 2024 08:42 UTC

On 31/03/2024 13:18, Stefan Ram wrote:
> ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
>> I have generated a PDF file using a program where I have requested
>> a certain font. Now, the PDF file is indeed being shown with that
>> font.
[...]
>> So it seems that the PDF generator has embedded Georgia.

I think all software creating PDF embeds the fonts it uses.

> I wonder whether I can now process the PDF to remove this embedding
> and use the Georgia font at the reader's site (if available)?

I believe it is technically possible to remove an embedded font, but why
would you want to do that? All it means is that no-one without their own
copy would be able to read the document.

> Is there a list of fonts that are always available for PDF and do not
> need to be embedded?
"Since nearly the very beginning of their existence, Adobe’s products
have been accompanied with a basic collection of fonts, first containing
only 13 components, then extended to 35: ITC Avant Garde Gothic (4
fonts), ITC Bookman (4 fonts), Courier (4 fonts), Helvetica (8 fonts),
New Century Schoolbook (4 fonts), Palatino (4 fonts), Times (4 fonts),
ITC Zapf Chancery Medium (1 font, italic), Symbol (1 font), and ITC Zapf
Dingbats (1 font)."
[https://tug.org/TUGboat/Articles/tb29-1/tb91ludwichowski-fonts.pdf]

Those fonts were available without the need for embedding in
Postscript, because they were included in the firmware of Postscript
printers. This was extended to other printer drivers, and in 1996, to a
replicate subset in the non-Adobe Ghostscript. AFAIK PDF also has the
Adobe fonts built in. But one original reason (disk space) has long been
irrelevant, although Adobe would of course like to trap users with its
fonts.

Today, I think almost every piece of software generating PDF will embed
the fonts that are used, and ignore the fact that those "35" are
available without embedding.

On 31/03/2024 14:31, Stefan Ram wrote:
> Or I would like to learn about fonts which clearly allow their
> embedding for free.
All fonts can be embedded, otherwise they would be unusable.

The important point is that the software (Word, LaTeX, whatever) ONLY
embeds those characters that are actually used ("subsetting"), NOT the
entire font. This makes it both useless and pointless to attempt to
steal a font by extracting it from the PDF or Postscript. Although
technically possible, you would end up with a font missing all the
characters that the document did not use.

On 31/03/2024 23:07, Stefan Ram wrote:
> Ah. In the meantime, I tried to use "Times" and observed that it was
> still embedded. And it is very hard to get free software to remove
> such embedded fonts.

Virtually impossible. Don't waste your time trying.

> So now I will take another way: I am going to embed fonts which have
> a free license like the SIL OFL (open font license) or the Apache
> license. The Apache license might require that one adds a copy of the
> license to the PDF, so I might prefer the OFL.

I don't think that is necessary, because embedding means subsetting, so
you are not breaking any licence by doing so, because the license only
prohibits you from giving the whole font away for someone else to use,
and that is not the case.

Typesetters and designers do this all day long. It's the normal way of
working, provided you are using legally-aquired fonts (ie you have paid
for those which are not explicitly given away).

Peter

Re: Fonts in PDF

<fonts-20240404100945@ram.dialup.fu-berlin.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=338&group=comp.text.pdf#338

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.text.pdf
Subject: Re: Fonts in PDF
Date: 4 Apr 2024 09:10:06 GMT
Organization: Stefan Ram
Lines: 21
Expires: 1 Feb 2025 11:59:58 GMT
Message-ID: <fonts-20240404100945@ram.dialup.fu-berlin.de>
References: <fonts-20240331110639@ram.dialup.fu-berlin.de> <Georgia-20240331131821@ram.dialup.fu-berlin.de> <l777fhFeibnU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de ZITS8+M03b7fc1g3bauitAKH64ofWbrcvJi6ZLfX6vcjMA
Cancel-Lock: sha1:x6OeUHGtoQNH1eBOnjo6DxwTl34= sha256:0HJ4RTeNWMKRsX7WvbItLN5LVbU4IA+33ue6fqiYuI8=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
Distribution through any means other than regular usenet
channels is forbidden. It is forbidden to publish this
article in the Web, to change URIs of this article into links,
and to transfer the body without this notice, but quotations
of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
services to mirror the article in the web. But the article may
be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
 by: Stefan Ram - Thu, 4 Apr 2024 09:10 UTC

Peter Flynn <peter@silmaril.ie> wrote or quoted:
>I don't think that is necessary, because embedding means subsetting, so
>you are not breaking any licence by doing so, because the license only
>prohibits you from giving the whole font away for someone else to use,
>and that is not the case.

|Many font manufacturers are now "monetizing their
|intellectual property," as I was told by a font designer.
| |They are tightening up control of their intellectual
|property.
| |This policy change started a couple of years ago and appears
|to be spreading throughout the font industry. It's fairly
|easy today for a font manufacturer to search websites, locate
|the sites' PDFs and EPUBs, and identify who manufactured the
|fonts in the files . . . and then send you an invoice for the
|additional licensing fees that allow you to continue to
|publish the document with those specific fonts.
| 2019/2020, Bevi Chagnon, PubCom

Re: Fonts in PDF

<MPG.4078c524f285d14989682@usenet.plus.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=340&group=comp.text.pdf#340

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.27.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 04 Apr 2024 14:10:28 +0000
From: ken.sharp@artifex.com (Ken Sharp)
Newsgroups: comp.text.pdf
Subject: Re: Fonts in PDF
Date: Thu, 4 Apr 2024 15:10:41 +0100
Message-ID: <MPG.4078c524f285d14989682@usenet.plus.net>
References: <fonts-20240331110639@ram.dialup.fu-berlin.de> <Georgia-20240331131821@ram.dialup.fu-berlin.de> <l777fhFeibnU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/3.0.4
X-Antivirus: AVG (VPS 240404-0, 4/4/2024), Outbound message
X-Antivirus-Status: Clean
Lines: 50
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-pl1LrcpO1bJA+XelWKr6KV5f4XlGQcssWS0KnQ/M1KyLcOKJ2sCUmnUc1ktlctIk6jC21Ozt32J2RTY!Mh9TBlIA/lUvTgmLb7RIi/ISXPWQklIFyMAi8YXboAG1inyeht6ROObq3udC3zSxkv+IaJfew5Kj!4/S509QLPuqKMQ==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Ken Sharp - Thu, 4 Apr 2024 14:10 UTC

In article <l777fhFeibnU1@mid.individual.net>, peter@silmaril.ie says...

> I think all software creating PDF embeds the fonts it uses.

Not necessarily. Ghostscript and Adobe Acrobat Distiller can be told not
to embed fonts, by name.

> Today, I think almost every piece of software generating PDF will
embed
> the fonts that are used, and ignore the fact that those "35" are
> available without embedding.

Ghostscript's pdfwrite devcie does not do so, nor do several other
producers. Why ? Because the file can be smaller. Insane though it may
seem (it does to me), some people do worry about even the tiny number of
bytes required to embed a subset font.

>
> On 31/03/2024 14:31, Stefan Ram wrote:
> > Or I would like to learn about fonts which clearly allow their
> > embedding for free.
> All fonts can be embedded, otherwise they would be unusable.

No, that's not true, sorry. OpenType fonts can contain a non-zero fsType
entry in the OS/2 subtable, which contains flexible embedding rights. If
bit 1 is set then:

"Fonts that have only this bit set must not be modified,
embedded or exchanged in any manner without first obtaining
permission of the legal owner.
Caution: For Restricted License embedding to take effect, it must be
the only level of embedding selected."

Bit 8 also additionally prevents subsetting the font. There are other
bits available for other purposes; see page 162 and 163 of the 1.4
OpenType specification.

Ghostscript's pdfwrite device does honour these controls, though I
believe many other PDF creators do not.

This is not possible with PostScript type 1 or CFF fonts, though the
license the font shipped with may limit your rights to embed the font in
a document.

You can still use a font for printing wihtout embedding it, provided the
printer has a copy of the font.

Ken

Re: Fonts in PDF

<l7814nFidhnU2@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=342&group=comp.text.pdf#342

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.pdf
Subject: Re: Fonts in PDF
Date: Thu, 4 Apr 2024 17:00:23 +0100
Organization: Usenet Labs Bozon Detector Facility
Lines: 17
Message-ID: <l7814nFidhnU2@mid.individual.net>
References: <fonts-20240331110639@ram.dialup.fu-berlin.de>
<Georgia-20240331131821@ram.dialup.fu-berlin.de>
<l777fhFeibnU1@mid.individual.net>
<fonts-20240404100945@ram.dialup.fu-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 8gU+WxQYFTOwW9pgdy+GXQuI/T/vqJGSDuBQME8m0G7i2m/dsi
Cancel-Lock: sha1:2JgTR1jgcSs3SMBvmBg0q65lIMU= sha256:qZUYDkLcpu2xVA4t3b3uH9TvG2cqy3p4xbojCYVhXT8=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <fonts-20240404100945@ram.dialup.fu-berlin.de>
 by: Peter Flynn - Thu, 4 Apr 2024 16:00 UTC

On 04/04/2024 10:10, Stefan Ram wrote:
> Peter Flynn <peter@silmaril.ie> wrote or quoted:
>> I don't think that is necessary, because embedding means
>> subsetting, so you are not breaking any licence by doing so,
>> because the license only prohibits you from giving the whole font
>> away for someone else to use, and that is not the case.
>
> |Many font manufacturers are now "monetizing their
> |intellectual property," as I was told by a font designer.

Entirely possible. I was referring to fonts for which you have already
paid for the appropriate license. If the foundry tried to dun me for an
unwarranted extra, I'd simply stop using the font and warn my clients to
do the same.

Peter

Re: Fonts in PDF

<l781btFidhnU3@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=343&group=comp.text.pdf#343

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.pdf
Subject: Re: Fonts in PDF
Date: Thu, 4 Apr 2024 17:04:13 +0100
Organization: Usenet Labs Bozon Detector Facility
Lines: 28
Message-ID: <l781btFidhnU3@mid.individual.net>
References: <fonts-20240331110639@ram.dialup.fu-berlin.de>
<Georgia-20240331131821@ram.dialup.fu-berlin.de>
<l777fhFeibnU1@mid.individual.net>
<MPG.4078c524f285d14989682@usenet.plus.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net IR5Q4uGceAEZ5KmWNASZcQ499UtWUtYlOz3KY8g4PsQnwJt2mf
Cancel-Lock: sha1:qNZMqbBywPrpGcOkji5Jz3q9reI= sha256:PONBGPC0Vr7H5ifGrgWjQSIdDrPKScGxIcJjYMZzd5M=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <MPG.4078c524f285d14989682@usenet.plus.net>
 by: Peter Flynn - Thu, 4 Apr 2024 16:04 UTC

On 04/04/2024 15:10, Ken Sharp wrote:
> In article <l777fhFeibnU1@mid.individual.net>, peter@silmaril.ie says...
>
>> I think all software creating PDF embeds the fonts it uses.
>
> Not necessarily. Ghostscript and Adobe Acrobat Distiller can be told
> not to embed fonts, by name.

Yes, I should have added "by default".

> Ghostscript's pdfwrite device does not do so, nor do several other
> producers. Why ? Because the file can be smaller. Insane though it
> may seem (it does to me), some people do worry about even the tiny
> number of bytes required to embed a subset font.

Yes they do, but this is an edge case.

>> All fonts can be embedded, otherwise they would be unusable.
>
> No, that's not true, sorry. OpenType fonts can contain a non-zero
> fsType entry in the OS/2 subtable, which contains flexible embedding
> rights.

Oooh. Thank you. I have not encountered that error (yet :-)
Do you have an example of this?

Peter

Re: Fonts in PDF

<MPG.4078eaf0e05c3ab8989683@usenet.plus.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=344&group=comp.text.pdf#344

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.23.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 04 Apr 2024 16:51:44 +0000
From: ken.sharp@artifex.com (Ken Sharp)
Newsgroups: comp.text.pdf
Subject: Re: Fonts in PDF
Date: Thu, 4 Apr 2024 17:51:57 +0100
Message-ID: <MPG.4078eaf0e05c3ab8989683@usenet.plus.net>
References: <fonts-20240331110639@ram.dialup.fu-berlin.de> <Georgia-20240331131821@ram.dialup.fu-berlin.de> <l777fhFeibnU1@mid.individual.net> <MPG.4078c524f285d14989682@usenet.plus.net> <l781btFidhnU3@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/3.0.4
X-Antivirus: AVG (VPS 240404-4, 4/4/2024), Outbound message
X-Antivirus-Status: Clean
Lines: 26
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-3qoIO+ymU3xDCkOdVc7t3+V2mKJSw80Z47edwSkteC+btRvLwctuvG3qtNCH2/jb0u7R0e1ufQmerJC!ZlVElYpC9UsPCWmt5rWJ4ej4UAnF2uoUeaCsWMPAJxpH4EVahD4jrp9J+A7Q8oT5BUK1YPyIsJDf!OHHgw3f4FxQmCnY=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Ken Sharp - Thu, 4 Apr 2024 16:51 UTC

In article <l781btFidhnU3@mid.individual.net>, peter@silmaril.ie says...

> > No, that's not true, sorry. OpenType fonts can contain a non-zero
> > fsType entry in the OS/2 subtable, which contains flexible embedding
> > rights.
>
> Oooh. Thank you. I have not encountered that error (yet :-)
> Do you have an example of this?

I've seen at least one font with the embedding rights disabled, but it
is not common.

This bug report :

https://bugs.ghostscript.com/show_bug.cgi?id=697764

has a PDF file attached which has an embedded (subset!) font with flags
which do not permit the font to be embedded. So clearly the PDF creator
(iText apparently but it has been modified after creation, possibly by
something called pdfasm-console) ignored the flags. The report,
obviously, is because pdfwrite doesn't ignore them.

I can of course see why this is confusing for the user!

Ken

Re: Fonts in PDF

<9jnfekxgjm.ln2@Telcontar.valinor>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=346&group=comp.text.pdf#346

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: robin_listas@es.invalid (Carlos E.R.)
Newsgroups: comp.text.pdf
Subject: Re: Fonts in PDF
Date: Tue, 9 Apr 2024 14:06:33 +0200
Lines: 66
Message-ID: <9jnfekxgjm.ln2@Telcontar.valinor>
References: <fonts-20240331110639@ram.dialup.fu-berlin.de>
<Georgia-20240331131821@ram.dialup.fu-berlin.de>
<l777fhFeibnU1@mid.individual.net>
<MPG.4078c524f285d14989682@usenet.plus.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net hVviZl1g7JYJkWSAgAc4DA3JwPHv+zmscfofZg2KGcL4zNQAv6
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:g+2gqw5/vhDYM/eiDaPYGr0wFYc= sha256:qiOFVubsnEs25g3bnjc9ZTdtKz713Gtv5ZLFlan9EEY=
User-Agent: Mozilla Thunderbird
Content-Language: es-ES, en-CA
In-Reply-To: <MPG.4078c524f285d14989682@usenet.plus.net>
 by: Carlos E.R. - Tue, 9 Apr 2024 12:06 UTC

On 2024-04-04 16:10, Ken Sharp wrote:
> In article <l777fhFeibnU1@mid.individual.net>, peter@silmaril.ie says...
>
>> I think all software creating PDF embeds the fonts it uses.
>
> Not necessarily. Ghostscript and Adobe Acrobat Distiller can be told not
> to embed fonts, by name.
>
>
>> Today, I think almost every piece of software generating PDF will
> embed
>> the fonts that are used, and ignore the fact that those "35" are
>> available without embedding.
>
> Ghostscript's pdfwrite devcie does not do so, nor do several other
> producers. Why ? Because the file can be smaller. Insane though it may
> seem (it does to me), some people do worry about even the tiny number of
> bytes required to embed a subset font.

I did this in the past. I had to email PDFs, and there was a limit on
email size imposed by the ISP. Not embedding the fonts did make
significant enough difference (significant when the limit is in the
range 1..10 MB).

At some point, Libre Office in Linux removed support for printer fonts,
and I could no longer produce tiny pdfs.

>> On 31/03/2024 14:31, Stefan Ram wrote:
>>> Or I would like to learn about fonts which clearly allow their
>>> embedding for free.
>> All fonts can be embedded, otherwise they would be unusable.
>
> No, that's not true, sorry. OpenType fonts can contain a non-zero fsType
> entry in the OS/2 subtable, which contains flexible embedding rights. If
> bit 1 is set then:
>
> "Fonts that have only this bit set must not be modified,
> embedded or exchanged in any manner without first obtaining
> permission of the legal owner.
> Caution: For Restricted License embedding to take effect, it must be
> the only level of embedding selected."
>
> Bit 8 also additionally prevents subsetting the font. There are other
> bits available for other purposes; see page 162 and 163 of the 1.4
> OpenType specification.
>
> Ghostscript's pdfwrite device does honour these controls, though I
> believe many other PDF creators do not.
>
> This is not possible with PostScript type 1 or CFF fonts, though the
> license the font shipped with may limit your rights to embed the font in
> a document.
>
> You can still use a font for printing wihtout embedding it, provided the
> printer has a copy of the font.

What's the use case of a font that can not print? :-?

A screen only font?

--
Cheers, Carlos.

Re: Fonts in PDF

<l92p7mFga19U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=350&group=comp.text.pdf#350

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.pdf
Subject: Re: Fonts in PDF
Date: Fri, 26 Apr 2024 23:40:31 +0100
Organization: Usenet Labs Bozon Detector Facility
Lines: 32
Message-ID: <l92p7mFga19U1@mid.individual.net>
References: <fonts-20240331110639@ram.dialup.fu-berlin.de>
<Georgia-20240331131821@ram.dialup.fu-berlin.de>
<l777fhFeibnU1@mid.individual.net>
<MPG.4078c524f285d14989682@usenet.plus.net>
<9jnfekxgjm.ln2@Telcontar.valinor>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net S0x5rxkgSQ5BjzQ2qUOGNAErRnVjJBDkONRJw28s7XBGc9Ua0B
Cancel-Lock: sha1:SE+gPMBievzxvt4+3tUF8COMwqM= sha256:bowuwl/pWZ8p35mDrx6WBdq4JvPcd/qhox+UcseIbic=
User-Agent: Mozilla Thunderbird
Content-Language: en-GB
In-Reply-To: <9jnfekxgjm.ln2@Telcontar.valinor>
 by: Peter Flynn - Fri, 26 Apr 2024 22:40 UTC

On 09/04/2024 13:06, Carlos E.R. wrote:
> On 2024-04-04 16:10, Ken Sharp wrote:
[...]
> I did this in the past. I had to email PDFs, and there was a limit on
> email size imposed by the ISP. Not embedding the fonts did make
> significant enough difference (significant when the limit is in the
> range 1..10 MB).

I think we all went through that stuff.

> At some point, Libre Office in Linux removed support for printer
> fonts, and I could no longer produce tiny pdfs.

LaTeX, specifically nowadays pdflatex (and I assume pari passu XeLaTeX
and LuaLaTeX) can be instructed not to embed fonts with an option in the
updmap.cfg configuration file, which controls font usage for Postscript
Type 1 fonts. [Thank you to Zdenek Wagner for this, which I had forgotten.]

It does of course mean that the user MUST absolutely restrict the
document to font-metric identical fonts to the Adobe "35" that were
built into printers back in the days of Postscript. Any use of glyphs
from any other font will probably just print as white-space.

That is probably an even harder restriction than producing tiny PDFs. If
someone ever wanted tiny PDFs I would do the above, but create
Postscript, and then zip it down hard and ensure the publisher was
equipped with the appropriate unzip and a copy of ps2pdf :-)

Peter

Peter

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor