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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 30 19:40:39 PDT 2011


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

--- Comment #8 from suzuki toshiya <mpsuzuki at hiroshima-u.ac.jp> 2011-08-30 19:40:39 PDT ---
>> * the extension ".otf" must be used for the font including "CFF" table,
>> so it should not be used for "fontTrueTypeOT", "fontCIDType2OT" that
>> use "glyf" instead of "CFF ".
>Can you give me a reference here?  I thought that ".otf" stands for "Open Type
>Font" and that both "fontTrueTypeOT" and "fontCIDType2OT" are variants of the
>Open Type.

Your understanding that "fontXXXOT"s are the variants of OpenType
is correct. But the suffixes for OpenType is not always ".otf". In the
recommendation of OpenType
(http://www.microsoft.com/typography/otspec/recom.htm),
* a font including "CFF" should use ".otf"
* a font including "glyf" and OpenType layout feature may use ".otf" or ".ttf".
some implementations have the back compatibility issue with the font including
"glyf" and OpenType layout tables when its suffix is ".otf".
* a font including "glyf" and no OpenType layout feature should use ".ttf".
Also I have to note that many PDF production systems with subsetting feature
remove OpenType layout table when they embed the fonts into PDF.

-- 
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