For closure, here <https://issues.apache.org/bugzilla/show_bug.cgi?id=53901> is the bug.

On 09/19/2012 03:44 AM, Rob Sargent wrote:

Interesting!

The location of the fo:declaration is quite restricted: Must be after layout-master-set (and before page-sequence elements) so that would preclude setting background on any region.

We're examining the output from cmyk() now and hopefully we don't run into difficulties because of the various icc's used. Can anyone comment on that?

Thanks!

rjs




On 09/19/2012 01:24 AM, Pascal Sancho wrote:
Hi Rob,

sorry for the delay.

In your test case, ICC profiles are not taken into account in the
fo:layout-master-set (probably because fo:declarations comes after),
while in fo:page-sequence all works as expected.
So you may file in a bug entry.
Note that FOP behaves as this whatever the version is (tried against
0.95, 1.0, 1.1rc1 and trunk).

2012/9/18 Rob Sargent <rsarg...@xmission.com>:
For what it's worth, I switched from rgb-icc() to cymk() and that appears to work. I'm not that worried about the non-portability of our fo files, but we do have two colour profiles and I'm not sure whether or not the change in
functions would impact our final product.


On 09/18/2012 09:55 AM, Rob Sargent wrote:

Anyone have an opinion on this? Bug v. Not bug? Hoping against hope that
I've made some other mistake.

rjs


On 09/14/2012 11:24 AM, Rob Sargent wrote:

This is just a bug, I'm sure. happy to file a bug if this is really the
case.


fop-yellow.xml show nice bright yellow for the background of the regions.
fop.xml goes black.

Help!!

On 09/10/2012 12:41 PM, Rob Sargent wrote:

Sorry, forgot the details.: using fop-1.1rc1

On 09/10/2012 12:34 PM, Rob Sargent wrote:

Should I expect rgb-icc(r,g,b,profile,c,y,m,k) to result in the correct
colour in pdf? I'm getting black. Or do I have to layout each region with an over-arching block with background-color set? Other explicit blocks using
rfb-icc() are working correctly on subsequent pages.

Here's the definition of the regions of the firstpage (which is coming out
black).

     <fo:simple-page-master margin="0in" page-height="11in"
page-width="8.5in" master-name="firstpage">
       <fo:region-body margin-right="0.833in"
background-color="rgb-icc(1.000, 0.902, 0.753, USWebCoatedSWOP.icc, 0.000,
0.100, 0.250, 0.000)" margin-left="0.75in" column-gap="0.25in"
margin-bottom="0.6in" column-count="2" margin-top="0.65in" />
<fo:region-before overflow="visible" background-color="rgb-icc(1.000,
0.902, 0.753, USWebCoatedSWOP.icc, 0.000, 0.100, 0.250, 0.000)"
extent="0.65in" region-name="header-first" />
       <fo:region-after background-color="rgb-icc(1.000, 0.902, 0.753,
USWebCoatedSWOP.icc, 0.000, 0.100, 0.250, 0.000)" extent="0.6in"
region-name="footer-first" />
<fo:region-start overflow="visible" background-color="rgb-icc(1.000,
0.902, 0.753, USWebCoatedSWOP.icc, 0.000, 0.100, 0.250, 0.000)"
extent="0.75in" region-name="sidebar-first" />
<fo:region-end overflow="visible" background-color="rgb-icc(1.000,
0.902, 0.753, USWebCoatedSWOP.icc, 0.000, 0.100, 0.250, 0.000)"
extent="0.833in" region-name="gutter" />
     </fo:simple-page-master>

and the declaration of the icc are available

   <fo:declarations>
     <fo:color-profile
src="jar:file:///d3/arcane/forty/eclipse/plugins/com.amirsys.console_4.9.0/lib/book-printing-core.jar!/USWebCoatedSWOP.icc"
color-profile-name="USWebCoatedSWOP.icc" />
     <fo:color-profile
src="jar:file:///d3/arcane/forty/eclipse/plugins/com.amirsys.console_4.9.0/lib/book-printing-core.jar!/grayColorDoplar.icc"
color-profile-name="grayColorDoplar.icc" />
   </fo:declarations>

And the explicit paths are correct.

We're looking for a peachy backdrop!







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







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


Reply via email to