[gs-bugs] [Bug 691912] Observations about font embedding

bugzilla-daemon at ghostscript.com bugzilla-daemon at ghostscript.com
Thu Jan 27 21:38:22 UTC 2011


--- Comment #2 from pipitas at googlemail.com 2011-01-27 21:38:21 UTC ---

I found out a few more things...

This one comes from testing with a very well-known fontfile from the point of
view of Ghostscript: NimbusSanL-Regu. 

The resulting PDF contains a different sample of glyphs on each page (130 for
each page). Ghostscript embeds a different subset of the font for each page of
the PDF. So far, so comprehensible...

However, Ghostscript uses the same 'uniq' fontname, 'AIOKJG+NimbusSanL-Regu',
for each of these subset fonts, even though each subset contains different
ranges of glyphs for its page.

Isn't this a bug? Shouldn't the subset names be different?! (Indeed, page no.
5, the *last* page of the PDF contains only 43 glyphs, and the subset name is
different here: 'TNAUUZ+NimbusSanL-Regu'.)

So I have:

 - Page 1:  130 glyphs,  subset no. 1,  subset name: 'AIOKJG+NimbusSanL-Regu'
 - Page 2:  130 glyphs,  subset no. 2,  subset name: 'AIOKJG+NimbusSanL-Regu'
 - Page 3:  130 glyphs,  subset no. 3,  subset name: 'AIOKJG+NimbusSanL-Regu'
 - Page 4:  130 glyphs,  subset no. 4,  subset name: 'AIOKJG+NimbusSanL-Regu'
 - Page 5:   43 glyphs,  subset no. 5,  subset name: 'TNAUUZ+NimbusSanL-Regu'

Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the gs-bugs mailing list