Fix for 686987, bdftops fails
Alex Cherepanov <[email protected]>
| Newsgroups | gmane.comp.printing.ghostscript.patches |
|---|---|
| Organization | Coscript Software |
| Message-ID | <[email protected]> |
Allocate larger buffer for generated charstrings. Old allocation was insufficient for gray block characters. (Unicode 2591, 2592, 2593). Fix bug 686987.
bdftops.ps.diff
(text/plain, 603 B)
Index: gs/lib/bdftops.ps
===================================================================
RCS file: /cvs/ghostscript/gs/lib/bdftops.ps,v
retrieving revision 1.6
diff -b -u -r1.6 bdftops.ps
--- gs/lib/bdftops.ps 2 Jun 2002 12:03:28 -0000 1.6
+++ gs/lib/bdftops.ps 6 Aug 2003 12:46:50 -0000
@@ -492,7 +492,7 @@
/fbbh fbbye fbbyo sub def
/fraster fbbw 7 add 8 idiv def
/bits fraster fbbh mul 200 .max 65535 .min string def
- /outline bits length 6 mul 65535 .min string def
+ /outline bits length 16 mul 65535 .min string def
% Process the characters.
chardata