Forum Bugs

SVG rendering bug

heycam
Hi.

I have an SVG file (which was generated from a PDF file using pdf2svg). When including it on an HTML page in Prince, I get some unexpected solid black regions in the resulting PDF. Viewing the SVG in Batik or Firefox doesn't show the black regions. Attached is the XHTML file with the SVG fragment in it (in a zip file, since it seems I can't attach HTML). Any idea how I can work around this problem?

(Ignore the occasional missing letter in the text on the page -- that's a bug with pdf2svg.)

Thanks,

Cameron
  1. test.zip223.5 kB
    Test which shows the black region when converted to PDF
mikeday
There are two black rectangles in the SVG that have been masked away completely (search for "msk19"). However, Prince does not yet support masks, so both rectangles are visible in the final output.
heycam
Ah, thanks for analysing the file, Mike. I searched for clips but not for masks. :-)