Re: Fix for 687068, Attempt to view pdf file gets Error: /typecheck in forall

"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: <[email protected]>; <[email protected]>
Sent: Wednesday, October 08, 2003 3:18 AM
Subject: Fix for 687068, Attempt to view pdf file gets Error: /typecheck in
forall


> Contrary to the published spec (up to v.1.5) Acrobat Distiller 3.01
> for Mac can use /Identity instead of a tint transform function in
> /Separation color space. Extend our PDF interpreter to cover this case.
>


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


> Index: gs/lib/pdf_draw.ps
> ===================================================================
> RCS file: /cvs/ghostscript/gs/lib/pdf_draw.ps,v
> retrieving revision 1.76
> diff -b -u -r1.76 pdf_draw.ps
> --- gs/lib/pdf_draw.ps 30 Sep 2003 15:16:04 -0000 1.76
> +++ gs/lib/pdf_draw.ps 7 Oct 2003 23:10:46 -0000
> @@ -557,7 +557,10 @@
>      ifelse
>    } bind
>    /Separation {
> -    aload pop exch oforce resolvecolorspace exch oforce resolvefnproc
> +    aload pop exch oforce resolvecolorspace
> +                % Contrary to PDF manuals up to v.1.5, Acrobat Distiller
3.01
> +                % can use /Identity name here instead of a function.
> +    exch oforce resolveidfnproc
>      4 array astore
>    }
>    /DeviceN {
>
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.