Hello,<br><br>I'm evaluating XEP for use in a project which involves converting SVG images into PDF format. <br><br>While testing XEP, I've noticed an odd behavior. For our purposes, we need to be able to specify CMYK colors when generating PDFs from SVG files. My understanding is that an "icc-color," if specified, is supposed to take precedence with "red" or "#990000" then being treated as a fallback. I get the expected output when fill, for example, is set to "red icc-color(#CMYK, 0%,0%,0%,10%)," but not when fill is set to "#990000 icc-color(#CMYK, 0%,0%,0%,10%)" in the SVG. Does anyone have any idea why I'm seeing this behavior?
<br><br>I've inlined an example .fo file.<br><br> Regards,<br> Tim<br><br><br><br><a href="http://www.w3.org/TR/SVG11/painting.html#SpecifyingPaint">http://www.w3.org/TR/SVG11/painting.html#SpecifyingPaint
</a><br>Using XEP 4.6 build 20060515<br>*********************************************************************<br><br><?xml version="1.0" encoding="UTF-8"?><br><fo:root xmlns:fo="<a title="http://www.w3.org/1999/XSL/Format" href="http://www.w3.org/1999/XSL/Format">
http://www.w3.org/1999/XSL/Format</a>"
xmlns="<a title="http://www.w3.org/2000/svg" href="http://www.w3.org/2000/svg">http://www.w3.org/2000/svg</a>" xmlns:xlink="<a title="http://www.w3.org/1999/xlink" href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink
</a>" ><br>
<div style="margin-left: 40px;"><fo:layout-master-set><br>
<div style="margin-left: 40px;"><fo:simple-page-master margin-right="0in"
margin-left="0in" margin-bottom="0in" margin-top="0in" page-width="5in"
page-height="3in" master-name="simplecard"> <br>
<div style="margin-left: 40px;"><fo:region-body/><br></div></fo:simple-page-master><br></div></fo:layout-master-set><br></div>
<div style="margin-left: 40px;"><fo:page-sequence
master-reference="simplecard"> <br></div>
<div style="margin-left: 80px;"><fo:flow
flow-name="xsl-region-body"><br></div>
<div style="margin-left: 120px;"><fo:block margin-left="0in"
line-height="0in"><br></div>
<div style="margin-left: 160px;"><fo:instream-foreign-object><br></div>
<div style="margin-left: 160px;">
<div style="margin-left: 40px;"><svg width="5in" height="3in"
version="1.1"><br></div>
<div style="margin-left: 80px;"><!-- Both rectangles should display as GRAY
icc-color(#CMYK, 0%,0%,0%,10%) (I think)--><br><br><!-- Displays as gray
--><br><rect x="1in" width="1in" height="1in" fill="red icc-color(#CMYK,
0%,0%,0%,10%)"/> <br> <br><!-- Displays as red --><br><rect
x="3in" width="1in" height="1in" fill="#990000 icc-color(#CMYK,
0%,0%,0%,10%)"/><br><br></div>
<div style="margin-left: 40px;"></svg><br></div></fo:instream-foreign-object><br></div>
<div style="margin-left: 120px;"></fo:block><br></div>
<div style="margin-left: 80px;"></fo:flow><br></div>
<div style="margin-left: 40px;"></fo:page-sequence><br></div></fo:root><br><br>