Closed afdw closed 8 months ago
Will have to investigate this one.
This might be related to #254, but these are just translations, nothing more complex.
No. That issue is all about compositing, not placement.
Your image is broken in Firefox, Safari and Inkscape. Just saying.
Your image is broken in Firefox.
This is because of SVG filters feImage with xlink:href doesn't work with fragments.
Your image is broken in Safari.
I do not have Safari to test (I think the macOS and preferable even Apple hardware are needed for that).
Your image is broken in Inkscape.
I know, but I did figure out why yet. Some other similar images work there.
Just saying.
Do you have any hints on how to make it easier for renderers?
feImage
is an absolute minefield and I have no idea what's wrong with this particular image. It would take a while to figure out. At the first glance looks like transform propagation is broken, but I have no idea how to fix it.
Do you have any hints on how to make it easier for renderers?
I still have no idea what is happening.
This has been fixed by https://github.com/RazrFalcon/resvg/commit/e018daed569df9619f486b81fd2362652feceadf
The image now matches the output from Chrome.
Consider the following file:
The problem is that the
transform="translate(-142.64, -142.64)"
andtransform="matrix(1, 0, 0, 1, 30, 30)"
parts are ignored for some reason.This might be related to #254, but these are just translations, nothing more complex.