Re: Fix for 686987, bdftops fails

"Igor V. Melichev" <[email protected]>
Newsgroups gmane.comp.printing.ghostscript.patches
Message-ID <[email protected]>
Please commit.

Igor.

----- Original Message ----- 
From: "Alex Cherepanov" <[email protected]>
To: "gs-code-review" <[email protected]>; "Igor V. Melichev"
<[email protected]>
Sent: Wednesday, August 06, 2003 5:31 PM
Subject: Fix for 686987, bdftops fails


> Allocate larger buffer for generated charstrings. Old
> allocation was insufficient for gray block characters.
> (Unicode 2591, 2592, 2593).
> Fix bug 686987.
>
>
>


----------------------------------------------------------------------------
----


> 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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.