Forum Bugs

Any thoughts about why this SVG logo isn't working?

johnathonwright
I've read though the documentation and pulled out everything I thought might have been suspicious, but the attached svg image still renders as two blocks in Prince rather than the way it renders in a browser.

Prince's version: https://url.odesk.com/mcbr1
In a Browser: https://url.odesk.com/z32is
the svg file: https://www.physioagereporting.com/images/logo.svg

it would be great if we could have a program that would parse an SVG file and say, "This node here is not right..."

jw
mikeday
Yikes, that looks random! :)

I would guess this is something to do with clipping paths, as the SVG seems to be making the text by clipping shapes out of blocks? We will investigate what Prince isn't supporting properly.
johnathonwright
I believe that's correct. My guess is that the large squares are the background and the white clippings are the inverse of the image.

jw
mikeday
I've updated the development roadmap to add support for the SVG clipPath element and clip-path CSS property, which should solve the problem.
johnathonwright
Am I correct in understanding that there is no way to modify the existing SVG document to work at this time?
mikeday
Not easily, no, it would require replacing the use of clipPath with some other construct.
mikeday
Prince 8.1 is now available with support for the SVG clipPath element.