Bug 420257

Summary: Transfer function is not appied
Product: Ghostscript Reporter: Alex Cherepanov <alex>
Component: PDF WriterAssignee: L. Peter Deutsch <ghost>
Status: NOTIFIED FIXED    
Severity: normal CC: ken.sharp
Priority: P2    
Version: master   
Hardware: All   
OS: All   
Customer: Word Size: ---
Attachments: Sample file: COWGIFword.ps.bz2

Description Alex Cherepanov 2001-04-30 13:40:08 UTC
Originally reported by: alexcher@users.sourceforge.net
All versions of GS from 6.01 to 7.01 don't apply or
include the transfer functions from setcolortransfer.
This is significant for Level 1 PS files generated by
Windows driver that simulates indexed color space with
transfer functions.
Customer #670
Comment 1 L. Peter Deutsch 2001-07-02 12:19:19 UTC
Comment originally by lpd@users.sourceforge.net
Logged In: YES 
user_id=8861

I executed ps2pdf COWGIFword.ps t.pdf with the current CVS
tree (as of 7/2/01), and the resulting image appeared to be
correct. If it still fails for you with the current code,
please provide the command line, platform, and other
relevant information, or else provide another test file that
still fails. TIA.
Comment 2 L. Peter Deutsch 2001-07-11 21:50:05 UTC
Comment originally by lpd@users.sourceforge.net
Logged In: YES 
user_id=8861

Apparently a workaround was implemented on 5/8/2001
(lib/gs_ll3.ps [1.9]) by including an IdiomSet that rewrites
certain procedures generated by the Win2K driver. This was a
bad fix: it requires LanguageLevel 3 capability with
IdiomRecognition enabled, and it doesn't address the real
problem. We will remove this IdiomSet as soon as we
understand how to fix the problem properly.
Comment 3 L. Peter Deutsch 2001-07-11 22:48:24 UTC
Comment originally by lpd@users.sourceforge.net
Logged In: YES 
user_id=8861

We have removed the workaround, implemented and tested a
proper fix, and checked the fix into the CVS tree.
Comment 4 Alex Cherepanov 2007-10-09 10:13:19 UTC
Created attachment 3451 [details]
Sample file: COWGIFword.ps.bz2

Attaching the original sample file on Ken's request.