[Openicc] [noreply at sourceforge.net: [ gimp-print-Bugs-3299815 ] CUPS PPD broken on Linux]
Robert Krawitz
rlk at alum.mit.edu
Tue May 10 04:39:24 PDT 2011
OK, it looks like we finally have to find a real solution for this
problem. At the very least, how do we determine, on any given system,
what profiles we need to embed in the PPD file and where to find them?
------- Start of forwarded message -------
Date: Tue, 10 May 2011 09:21:38 +0100
To: noreply at sourceforge.net
From: "SourceForge.net" <noreply at sourceforge.net>
Subject: [ gimp-print-Bugs-3299815 ] CUPS PPD broken on Linux
Content-Type: text/plain; charset="UTF-8"
Bugs item #3299815, was opened at 2011-05-10 09:21
Message generated for change (Tracker Item Submitted) made by rleigh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101537&aid=3299815&group_id=1537
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: CUPS native interface
Group: 5.2-open
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Roger Leigh (rleigh)
Assigned to: Nobody/Anonymous (nobody)
Summary: CUPS PPD broken on Linux
Initial Comment:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625925
genppd.c hardcodes paths to ICC profiles. These are Mac-specific, and are not present on Linux systems. With a recent version of CUPS, which makes use of ICC profiles, printing breaksdue to the profiles being invalid. This has been broken since 5.2.1, but not noticed because up until now CUPS was not making use of the information on Linux systems. This block of code should be made conditional so that this information is only put into the PPD on Mac builds, or is only used on Mac versions of CUPS if you can make it conditional inside the PPD.
/* Macintosh color management */
gzputs(fp, "*cupsICCProfile Gray../Grayscale: \"/System/Library/ColorSync/Profiles/sRGB Profile.icc\"\n");
gzputs(fp, "*cupsICCProfile RGB../Color: \"/System/Library/ColorSync/Profiles/sRGB Profile.icc\"\n");
gzputs(fp, "*cupsICCProfile CMYK../Color: \"/System/Library/ColorSync/Profiles/Generic CMYK Profile.icc\"\n");
gzputs(fp, "*APSupportsCustomColorMatching: true\n");
gzputs(fp, "*APDefaultCustomColorMatchingProfile: sRGB\n");
gzputs(fp, "*APCustomColorMatchingProfile: sRGB\n");
Regards,
Roger
- ----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101537&aid=3299815&group_id=1537
------- End of forwarded message -------
More information about the openicc
mailing list