Hi,
Spot color (https://www.princexml.com/doc-prince/#color-spot) is not working in SVG Gradient, test file is attached
Reproduce steps:
1. SVG file:
2. White and Blue color values are replaced with spot colors according to docs (see attached file "design_Front_dproof5p.svg")
3. Convert attached file with Prince 12.2
Expected Results:
PDF looks same as SVG file - http://img.newtonideas.com/adt29cptrue3yne82feh98rh1.png
Actual Result:
Gradient is solid Black - see attached file "design_Front_dproof5p.pdf"
More info:
1. SVG code:
is not converted,
while
works OK
2. Spot Colors CSS is embed into attached SVG
Spot color (https://www.princexml.com/doc-prince/#color-spot) is not working in SVG Gradient, test file is attached
Reproduce steps:
1. SVG file:
2. White and Blue color values are replaced with spot colors according to docs (see attached file "design_Front_dproof5p.svg")
3. Convert attached file with Prince 12.2
Expected Results:
PDF looks same as SVG file - http://img.newtonideas.com/adt29cptrue3yne82feh98rh1.png
Actual Result:
Gradient is solid Black - see attached file "design_Front_dproof5p.pdf"
More info:
1. SVG code:
<linearGradient id="SVGID_1_" ... >
<stop offset="0" style="stop-color:prince-color(White)"/>
<stop offset="1" style="stop-color:prince-color(Blue)"/>
</linearGradient>
<rect fill="url(#SVGID_1_)" ... />
is not converted,
while
<rect fill="prince-color(White)" ... />
<rect fill="prince-color(Blue)" ... />
works OK
2. Spot Colors CSS is embed into attached SVG