xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Sargent <rsarg...@xmission.com>
Subject Re: Does FOP-1.1rc1 change handling of RGB values?
Date Wed, 29 Aug 2012 18:35:48 GMT
You are of course correct.  I misspoke. We search in the pdf for the rbg 
color with an string such as this: "0.07843 0.15686 0.31372  rg".  And 
we would be replacing it with something like "0.08 0.00 0.15 0.0 k" if 
the rg string were found.

My apologies for mis-reading our code base.

rjs



On 08/29/2012 05:04 AM, Chris Bowditch wrote:
> On 28/08/2012 18:02, rsargent wrote:
>> Perhaps I can rephrase the question.
>>
>> Has the transformation of colour values from RGB (in the fo) to CMYK 
>> in the
>> pdf changed in fop-1.1rc1 compared with fop-1.0?  Our search and 
>> replace is
>> no longer finding the values in the pdf.  We insert temporary RGBs,
>> expecting to find known cymk definitions in the pdf for replacement. 
>> (Legacy
>> code).
>
> FOP doesn't convert RGB to CMYK. If you could tell us what your code 
> searches for in the PDF then we might have some chance to tell you if 
> there has been a change to that
>
>>
>> If I can't find a local explanation, I'm headed for a serious 
>> re-write of
>> color handling.  Should have been done long ago, I concede. Still not a
>> good time, um, er, corporately.
>
> Definitely the right way to use FOP though :-)
>
> Chris
>>
>> Thanks
>>
>> rsargent wrote
>>> I'm not finding certain strings related to colour I expect to be in the
>>> pdf.  Has this changed recently.  I didn't see mention of such in the
>>> 1.1 release notes.
>>>
>>> Thanks,
>>>
>>> rjs
>>>
>>
>>
>>
>> -- 
>> View this message in context: 
>> http://apache-fop.1065347.n5.nabble.com/Does-FOP-1-1rc1-change-handling-of-RGB-values-tp36690p36724.html
>> Sent from the FOP - Users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message