[gs-devel] Re: Merger ESP/GPL GS: GPL GS 8.57 is out, how to proceed with the merger

Till Kamppeter till.kamppeter at gmail.com
Sat May 12 17:29:18 PDT 2007


Ray Johnston wrote:
>> Ok, I don't immediately see a single strategy that would work for both 
>> what you say CUPS needs and preserve the existing functionality
>> for those who depend on it, so please proceed by making the core 
>> changes depend on a switch, preserving the current behavior as the 
>> default. Please do this on the branch, and then merge down to trunk 
>> after we've verified it works on win32.
>>   
> And that it builds/works on Mac OS/X, and (if we still support builds on 
> Mac Classic, verify that)

Can someone here on the list test the merger branch under Mac OS X 
(after I have reverted version.mak)? Thanks-

> and run the full regression. Then merge.
> 

How do I do a full regression on a branch? For the trunk it seems to be 
enough to upload something and a cluster regression test gets triggered.

> Just to be entirely clear about the gs_init.ps change to default BG and 
> UCR, changing these
> defaults will affect the default appearance on CMYK devices when the 
> colors are RGB.
> While these values are easily controlled by customers/user with the 
> corresponding PS
> operators, most people don't set them. I think it is up to CUPS sending 
> data to GS to
> set these (then the defaults don't matter), or at least for gs to use 
> different defaults when
> running from CUPS.
> 

The patch from Martin Lottermoser is not required by CUPS, I have simply 
added it as it appeared to be a bug fix for me. What do I have to add to 
the Ghostscript command line or to insert into the Postscript data 
stream so that this change gets done for a particular job.

> Also the gs_setpd.ps change to Policy should default to PolicyNotFound 1 
> and PageSize 0
> (not 7). This is expected by some PS files and would change the results 
> for some
> users/customers that rely on the existing values. Once again, most 
> people SHOULD set
> these, and there is no problem with CUPS sending the setpagedevice the 
> set these
> Policy values and not rely on specific defaults.
> 
> CUPS doesn't really need to modify the default behavior, or to set any 
> 'option' switches
> if it sends PS that sets the desired values using PS 
> (setundercolorremoval, setblackgeneration
> and setpagedevice). These changes to CUPS would still work with old 
> (7.07?) gs.
> 

Again, what do I have to supply on the Ghostscript command line or to 
insert into the PostScript data stream so that these values get set? 
Then I can apply these things in the "psto..." CUPS filter scripts in 
the cups/ directory.

> While an option isn't needed, I don't object if that's the way you and 
> Mike want to
> proceed.
> 

If we can set these options in pstoraster and foomatic-rip it is no problem.

> I don't have any problem with the addition of NOMEDIAATTRIBUTES, 
> although I the
> comment isn't clear to me:
> < % Define NOMEDIAATTRS to turn off the default (but unimplementable) media
> < % selection policies for setpagedevice.  This is used by CUPS to support
> < % the standard Adobe media attributes.
> 

We should ask Mike Sweet (CCing) what this means. Mike, can you clarify 
this?

> Artifex has run the complete CET and has gone to some lengths to make 
> the (complex)
> setpagedevice media matching logic work like Adobe PS.
> 
> BTW, I disagree with calling the values of BG and UCR as a 'bug' as 
> Martin Lottermoser
> wrote. This is a matter of preference, and we chose this to avoid a 
> problem with images.
> Combining black ink with CMY causes color shifts and causes too much ink 
> on inkjets
> (which are the dominant color printers today). OTOH, using CMY for text 
> can also be
> a problem -- that's why 'real world' printers use different color 
> mapping for text, graphics
> and images. Look for 'switchable CRD' technology in gs later that will 
> facilitate this.
> 

Perhaps this should be set on a per-driver basis (inkjet, laser, ...)

    Till




More information about the gs-devel mailing list