Use ICC profiles in PS output
@ajohnson
Submitted by Adrian Johnson Assigned to poppler-bugs
Description
Created attachment 34032 Use ICC profile in PS output
When printing PDFs that use ICC based colors, Poppler always uses the alternate color space in the PostScript output (usually DeviceRGB or DeviceCMYK). The attached patch will use the ICC profile color space in the PS output. Most of the patch is modifying GfxColorTransform and callers to store the source profile as well as the transform. The GfxICCBasedColorSpace class has a new method, getPostScriptCSA(), which uses the LCMS function cmsGetPostScriptCSA() to generate the CIEBased color space dictionary equivalent to the ICC profile.
Patch 34032, "Use ICC profile in PS output":
0001-Get-PS-color-space-from-LCMS-for-ICC-color-spaces.patch