[gs-cvs] rev 8201 - trunk/gs/lib
alexcher at ghostscript.com
alexcher at ghostscript.com
Thu Aug 23 11:00:20 PDT 2007
Author: alexcher
Date: 2007-08-23 11:00:19 -0700 (Thu, 23 Aug 2007)
New Revision: 8201
Modified:
trunk/gs/lib/gs_ttf.ps
Log:
When the same name maps to more than one glyph change the name.
Don't treat /.notdef names specially because glyphs corresponding
to /.notdef names can look different. Bug 689408, customer 770.
DIFFERENCE:
None
Modified: trunk/gs/lib/gs_ttf.ps
===================================================================
--- trunk/gs/lib/gs_ttf.ps 2007-08-22 06:38:36 UTC (rev 8200)
+++ trunk/gs/lib/gs_ttf.ps 2007-08-23 18:00:19 UTC (rev 8201)
@@ -1378,14 +1378,10 @@
exch
} if
2 index 1 index known
- { dup /.notdef eq {
- pop pop % discard duplicate .notdef glyphs
- } {
- % The same name maps to more than one glyph. Change the name.
- pop dup .nname 3 index 2 index 2 index put
- 2 index exch 3 -1 roll put
- }
- ifelse
+ { % The same name maps to more than one glyph. Change the name.
+ % No special treatment for /.notdef glyph. Bug 689408.
+ pop dup .nname 3 index 2 index 2 index put
+ 2 index exch 3 -1 roll put
} {
2 index exch 3 -1 roll put % unique name
} ifelse
More information about the gs-cvs
mailing list