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!