[Poppler-bugs] [Bug 39385] pdftohtml: add image and font extraction

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 31 00:31:42 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=39385

--- Comment #9 from suzuki toshiya <mpsuzuki at hiroshima-u.ac.jp> 2011-08-31 00:31:42 PDT ---
>> * the extension for "fontType1" may be "pfa" or "pfb". although I
>> don't have good referential PDF generator that embeddes PS Type1 as
>> PS Type1, checking the header is recommended to determine appropriate
>> suffix. However, I'm not sure if there is a software going wrong when PFB
>> fonts are given with the suffix PFA. FreeType does not care, and, most
>> systems caring PFA or PFB are supposed to be the systems supporting
>> PFB only or PFA only.
>Thanks, I'll keep this in mind if we run into trouble.

If you're interested in, maybe I can contribute a small patch to check
the embedded font stream is PFA or PFB. According to Adobe TechNote
5040: "Supporting Downloadable PostScript Language Fonts" (1992),
section 3.3 "IBM PC Format", the leading bytes of PFB (Binary format)
would be 0x80 0x01 ..., apparently such should not appear in PFA (ASCII
format).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list