[gs-cvs] gs/src

Igor Melichev igor at ghostscript.com
Thu Jun 3 10:12:25 PDT 2004


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

Modified Files:
	gdevpdti.c 
Log Message:
(pdfwrite) : Implementing a dynamic recongnition for Type 3 charproc variations (continued 3).

DETAILS :

Must check FontMatrix when deciding about same charproc.

EXPECTED DIFFERENCES :

None.


Index: gdevpdti.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/gdevpdti.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- gdevpdti.c	1 Jun 2004 13:42:43 -0000	1.30
+++ gdevpdti.c	3 Jun 2004 17:12:07 -0000	1.31
@@ -591,6 +591,11 @@
 	return false;
     if (pcp0->v.y != pcp1->v.y)
 	return false;
+    if (pcp0->font->u.simple.s.type3.bitmap_font != pcp1->font->u.simple.s.type3.bitmap_font)
+	return false;
+    if (memcmp(&pcp0->font->u.simple.s.type3.FontMatrix, &pcp1->font->u.simple.s.type3.FontMatrix,
+		sizeof(pcp0->font->u.simple.s.type3.FontMatrix)))
+	return false;
     return true;
 }
 



More information about the gs-cvs mailing list