Commit 1f698b44 authored by Committed by Albert Astals Cid
Use ICC profiles 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. Based on patch from issue #125.
Showing with 153 additions and 58 deletions