[gs-cvs] rev 8239 - trunk/gs/lib

alexcher at ghostscript.com alexcher at ghostscript.com
Thu Sep 13 22:23:53 PDT 2007


Author: alexcher
Date: 2007-09-13 22:23:52 -0700 (Thu, 13 Sep 2007)
New Revision: 8239

Modified:
   trunk/gs/lib/gs_cff.ps
   trunk/gs/lib/pdf_font.ps
Log:
Add recognition of a CFF file fith the extended header = <01000C02>.
Bug 689449, customer 1110.

DIFFERENCES:
None


Modified: trunk/gs/lib/gs_cff.ps
===================================================================
--- trunk/gs/lib/gs_cff.ps	2007-09-14 05:03:11 UTC (rev 8238)
+++ trunk/gs/lib/gs_cff.ps	2007-09-14 05:23:52 UTC (rev 8239)
@@ -677,6 +677,10 @@
   /vminor next def
   /hdrsize next def
   /aoffsize next def
+  hdrsize 4 gt {
+    hdrsize 4 sub dup advance
+    f exch () /SubFileDecode filter flushfile
+  } if
 
 	% Read the Indexes.
 

Modified: trunk/gs/lib/pdf_font.ps
===================================================================
--- trunk/gs/lib/pdf_font.ps	2007-09-14 05:03:11 UTC (rev 8238)
+++ trunk/gs/lib/pdf_font.ps	2007-09-14 05:23:52 UTC (rev 8239)
@@ -1444,10 +1444,11 @@
     } 2 bndef
 
   <01000401> <01000402> <01000403> <01000404> % Type 1C
+  <01000C02>
     { exch pop
       dup /Subtype get
       fontloadprocs exch get exec
-    } 4 bndef 
+    } 5 bndef 
 
   <00010000> (true) (typ1) (ttcf)  % TrueType OpenType
     { exch pop readtruetype



More information about the gs-cvs mailing list