xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Bromberg <bromb...@tzi.de>
Subject Re: CMYK colors in pdf via fop
Date Wed, 28 Sep 2005 12:50:03 GMT


Jeremias Maerki wrote:
> On 28.09.2005 13:43:53 Dirk Bromberg wrote:
>   
>> Hi,
>>
>> i've asked before a few weeks if it is possible to use CMYK colors at 
>> the fo document to get them in the pdf.
>> There the answer was no. :-)
>>
>> I want to create a fo document with colors like  
>> "rgb-icc(0,0,0,#CMYK,100%,0%,0%,0%)"
>>     
>
> I've seen the #CMYK pseudo-profile in AntennaHouse and RenderX but
> haven't found any reference in a specification. Is there one?
>
> Anyway, FOP doesn't implement the rgb-icc function, yet. You'd have to
> implement that yourself.
>
>   
>> I've done a short look at the code and the pdf spec and have much 
>> questions about the coloring world....
>>
>> My first questions to understand the coloring in fop a bit more are:
>>
>> 1. when i set a color (e.g. background-color at table) the 
>> ColorTypeProperty(String value); object is build for this color or not?
>>     
>
> Yes, but currently only with sRGB plus alpha channel (in FOP Trunk).
>
>   
>> 2. how goes this property into the pdf file? i saw the PDFColor class 
>> which already has the cmyk support!?
>>     
>
> Yes, there are some provisions for CMYK, but FOP internally transfers
> only RGB values. This will have to be generalized, possibily by using
> more of Java's color support classes, if the rgb-icc function is to be
> supported.
>
>   
>> 3. when i generate a pdf document and open it into the texteditor i can 
>> find things like /DeviceRGB when i use the rgb(100,10,50) colors, is it 
>> possible that my pdf has "encrypted" sections?
>>     
>
> If you don't do anything special, the page streams are compressed using
> the Flate filter. You can disable the filter in the userconfig file as
> shown in a post here on fop-users a few days ago. You will then see the
> right PDF commands to set the colors.
>
> Are you working on FOP Trunk or the old code?
>   
When i check my fop.xconf, must have an empty <filterList/> in my 
<renderer mime="application/pdf"> to get the plain pdf?
This is not working .... or must i enable another value?

Dirk
>
> Jeremias Maerki
>
>
> ---------------------------------------------------------------------
> 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