An improved patch for 687156 and 687175 (revision 2)
"Igor V. Melichev" <[email protected]>
| Newsgroups | gmane.comp.printing.ghostscript.patches |
|---|---|
| Message-ID | <[email protected]> |
This is an improved revision of the patch http://www.ghostscript.com/pipermail/gs-code-review/2003-December/004275.html This one appears better because some fonts significantly overestimate FontBBox. The patch http://www.ghostscript.com/pipermail/gs-code-review/2003-December/004269.html is not longer necessary. This one fixes that problem in a more general way. [Log message beg] Fix (type 1 hinter) : sbw was wrongly accounted with FontBBox over 4095 units. DETAILS : Side bearing and width was accounted before import_shift is adjusted to FontBBox. Bug 687156 "some characters shifted higher in acrobat4 generated eps". Besides that, it prevents a fixed overflow when FontBBox is zero and glyph coordinates are big. Bug 687175 "(type 1 hinter) A fixed overflow can happen". This patch removes import_shift and the dependence on FontBBox. Instead that it dynamically reduces the number of fraction bits in transformation matrices during the glyph import. Minor change : removed some obsolete comments. EXPECTED DIFFERENCES : None. [Log message end] _______________________________________________ gs-code-review mailing list [email protected] http://www.ghostscript.com/mailman/listinfo/gs-code-review
patch.txt
(application/octet-stream, 18.7 KB) - not displayed