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.&nbsp; For our purposes, we need to be able to specify CMYK colors when generating PDFs from SVG files. &nbsp;My understanding is that an &quot;icc-color,&quot; if specified, is supposed to take precedence with &quot;red&quot; or &quot;#990000&quot; then being treated as a fallback. I get the expected output when fill, for example, is set to &quot;red icc-color(#CMYK, 0%,0%,0%,10%),&quot; but not when fill is set to &quot;#990000 icc-color(#CMYK, 0%,0%,0%,10%)&quot; in the SVG. &nbsp;Does anyone have any idea why I'm seeing this behavior?
<br><br>I've inlined an example .fo file.<br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Regards,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;fo:root xmlns:fo=&quot;<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>&quot; 
xmlns=&quot;<a title="http://www.w3.org/2000/svg" href="http://www.w3.org/2000/svg">http://www.w3.org/2000/svg</a>&quot; xmlns:xlink=&quot;<a title="http://www.w3.org/1999/xlink" href="http://www.w3.org/1999/xlink">http://www.w3.org/1999/xlink
</a>&quot; &gt;<br>
<div style="margin-left: 40px;">&lt;fo:layout-master-set&gt;<br>
<div style="margin-left: 40px;">&lt;fo:simple-page-master margin-right=&quot;0in&quot; 
margin-left=&quot;0in&quot; margin-bottom=&quot;0in&quot; margin-top=&quot;0in&quot; page-width=&quot;5in&quot; 
page-height=&quot;3in&quot; master-name=&quot;simplecard&quot;&gt; <br>
<div style="margin-left: 40px;">&lt;fo:region-body/&gt;<br></div>&lt;/fo:simple-page-master&gt;<br></div>&lt;/fo:layout-master-set&gt;<br></div>
<div style="margin-left: 40px;">&lt;fo:page-sequence 
master-reference=&quot;simplecard&quot;&gt; <br></div>
<div style="margin-left: 80px;">&lt;fo:flow 
flow-name=&quot;xsl-region-body&quot;&gt;<br></div>
<div style="margin-left: 120px;">&lt;fo:block margin-left=&quot;0in&quot; 
line-height=&quot;0in&quot;&gt;<br></div>
<div style="margin-left: 160px;">&lt;fo:instream-foreign-object&gt;<br></div>
<div style="margin-left: 160px;">
<div style="margin-left: 40px;">&lt;svg width=&quot;5in&quot; height=&quot;3in&quot; 
version=&quot;1.1&quot;&gt;<br></div>
<div style="margin-left: 80px;">&lt;!-- Both rectangles should display as GRAY 
icc-color(#CMYK, 0%,0%,0%,10%) (I think)--&gt;<br><br>&lt;!-- Displays as gray 
--&gt;<br>&lt;rect x=&quot;1in&quot; width=&quot;1in&quot; height=&quot;1in&quot; fill=&quot;red icc-color(#CMYK, 
0%,0%,0%,10%)&quot;/&gt; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&lt;!-- Displays as red --&gt;<br>&lt;rect 
x=&quot;3in&quot; width=&quot;1in&quot; height=&quot;1in&quot; fill=&quot;#990000 icc-color(#CMYK, 
0%,0%,0%,10%)&quot;/&gt;<br><br></div>
<div style="margin-left: 40px;">&lt;/svg&gt;<br></div>&lt;/fo:instream-foreign-object&gt;<br></div>
<div style="margin-left: 120px;">&lt;/fo:block&gt;<br></div>
<div style="margin-left: 80px;">&lt;/fo:flow&gt;<br></div>
<div style="margin-left: 40px;">&lt;/fo:page-sequence&gt;<br></div>&lt;/fo:root&gt;<br><br>