[gs-cvs] gs/src

Igor Melichev igor at casper.ghostscript.com
Sat Aug 17 01:04:44 PDT 2002


Update of /cvs/ghostscript/gs/src
In directory casper:/tmp/cvs-serv4392/gs/src

Modified Files:
	zfapi.c 
Log Message:
Fix (FAPI): Embedded Type 2 was misidentified as a non-embedded font.


Index: zfapi.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/zfapi.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- zfapi.c	3 Aug 2002 15:50:51 -0000	1.23
+++ zfapi.c	17 Aug 2002 08:04:42 -0000	1.24
@@ -1058,7 +1058,9 @@
     ref char_name, *SubfontId;
     int subfont = 0;
     bool is_TT_from_type42 = (pbfont->FontType == ft_TrueType && font_file_path == NULL);
-    bool is_embedded_type1 = (pbfont->FontType == ft_encrypted && font_file_path == NULL);
+    bool is_embedded_type1 = ((pbfont->FontType == ft_encrypted ||
+			       pbfont->FontType == ft_encrypted2) && 
+			      font_file_path == NULL);
     bool bCID = (IsCIDFont(pbfont) || charstring != NULL);
     bool bIsType1GlyphData = IsType1GlyphData(pbfont);
     FAPI_font ff = ff_stub;




More information about the gs-cvs mailing list