[gs-cvs] gs/src
Igor Melichev
igor at casper.ghostscript.com
Wed Aug 7 04:34:00 PDT 2002
Update of /cvs/ghostscript/gs/src
In directory casper:/tmp/cvs-serv14588/gs/src
Modified Files:
gdevpdti.c
Log Message:
Fix (pdfwrite): Widths were missed (written as zeros) for Type 3 fonts.
Source Forge bug #591808 "Scrambled spacing, chars superimposed"
Index: gdevpdti.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/gdevpdti.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- gdevpdti.c 9 Jul 2002 14:29:35 -0000 1.4
+++ gdevpdti.c 7 Aug 2002 11:33:58 -0000 1.5
@@ -99,7 +99,7 @@
pbfs->use_open_font = true;
}
c = ++(font->u.simple.LastChar);
- font->Widths[c] = width;
+ font->Widths[c] = font->real_widths[c] = width;
if (c > pbfs->max_embedded_code)
pbfs->max_embedded_code = c;
return c;
More information about the gs-cvs
mailing list