[gs-cvs] rev 7625 - trunk/gs/src
leonardo at ghostscript.com
leonardo at ghostscript.com
Sat Jan 20 12:44:37 PST 2007
Author: leonardo
Date: 2007-01-20 12:44:36 -0800 (Sat, 20 Jan 2007)
New Revision: 7625
Modified:
trunk/gs/src/gxhintn.c
Log:
Fix (pdfwrite) Don't reassign object ID for shared descendent fonts.
DETAILS :
Bug 689054 "pdfwrite : missed object".
The old code erroneusely assigned object ID at second time
when a descendent CID font is shared with several Type 0 fonts.
EXPECTED DIFFERENCES :
None.
Modified: trunk/gs/src/gxhintn.c
===================================================================
--- trunk/gs/src/gxhintn.c 2007-01-20 18:39:23 UTC (rev 7624)
+++ trunk/gs/src/gxhintn.c 2007-01-20 20:44:36 UTC (rev 7625)
@@ -1140,7 +1140,7 @@
return;
contour_beg = this->contour[this->contour_count -1];
contour_end = this->pole_count - 1; /* the last contour's 'closepath'. */
- if (contour_beg >= contour_end)
+ if (contour_beg + 8 >= contour_end)
return;
for (k = 0; k < 2; k++) {
t1_glyph_space_coord *p_gc = (!k ? &this->pole[0].gx : &this->pole[0].gy);
More information about the gs-cvs
mailing list