I fail to get the overprint argument of the prince-color() method working. When opening the PDF in Illustrator overprint has not be set for the graphic element.
Below is a minimized example of the SVG:
I created the PDF using the below command line:
I've attached the PDF created by Prince and a PDF updated in Illustrator with overprint set for the rectangle.
Below is a minimized example of the SVG:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="50mm" height="20mm" version="1.1" viewBox="0 0 50 20" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">
<style>
@prince-color G067 { alternate-color: #00843D }
</style>
<rect x="2" y="2" width="46" height="16" rx="1" ry="1" stroke="#404040" stroke-width="0.5" fill="prince-color(G067, overprint)"/>
</svg>
I created the PDF using the below command line:
"C:\Program Files (x86)\Prince\engine\bin\prince.exe" "C:\Temp\Overprint example.svg" "C:\Temp\Overprint example.pdf" --page-size="50mm 20mm" --page-margin=0
I've attached the PDF created by Prince and a PDF updated in Illustrator with overprint set for the rectangle.