[gs-bugs] [Bug 689763] Problem reading PDF file with CID font

bugs.ghostscript.com-bugzilla-daemon at ghostscript.com bugs.ghostscript.com-bugzilla-daemon at ghostscript.com
Fri Apr 18 20:34:02 PDT 2008


http://bugs.ghostscript.com/show_bug.cgi?id=689763

alex.cherepanov at artifex.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #3948 is|0                           |1
           obsolete|                            |



------- Additional Comments From alex.cherepanov at artifex.com  2008-04-18 20:34 -------
Created an attachment (id=3951)
 --> (http://bugs.ghostscript.com/attachment.cgi?id=3951&action=view)
patch

PDF can use OpenType font with ordinary CFF data as a CIDFont. Such a font is
referenced by /CIDFontType2 and may have /CIDToGIDMap table. The following
changes have been done to support this usage.

- A flag that forces CIDFont generation was added to CFF font loader.
- When the flag is on, CFF font is converted to a Type 9 CIDFont.
- The FontSet resource is returned by the value from the font loader
  because it can be of either Font or CIDFont type,
- Since CIDMap has no effect on CIDFont Type 9, CIDToGIDMap is interpreted
  by PDF reader to modify GlyphDirectory to the same effect.
- Unused CIDMap is no longer generated for CIDFontType2 objects that are nor
  TrueType CIDFont resources.

Regression testing shows no differences.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the gs-bugs mailing list