4 ms·
Thanks for telling me, I had no idea. It looks like Firefox and Edge don't render in the same way Inkscape/Chrome do. It seems converting the whole SVG from "O
by fabiensanglard 6y ago
Thanks for telling me, I had no idea. It looks like Firefox and Edge don't render in the same way Inkscape/Chrome do.
It seems converting the whole SVG from "Object to Path" fixed the issue everywhere.
- twic 6y agoI know next to nothing about SVG; do you think this was a mistake in the SVG, or is it a bug in Firefox's rendering? If the latter, ideally, we would file a bug report, although i don't actually know how you do that for Firefox these days.
- fabiensanglard 6y agoIt think it is a bug in Firefox rendering since Inkscape and Chrome render it properly. If I remove the "writing-mode:tb-rl" firefox renders it properly. It seems FF does not support that attribute. I have kept both versions of the SVG and intended to fill a bug report. http://fabiensanglard.net/cuda/g71.svg http://fabiensanglard.net/cuda/g71.svg http://fabiensanglard.net/cuda/g71_org.svg http://fabiensanglard.net/cuda/g71_org.svg I have this weird guts feeling it will be closed as "we know. we don't support it yet. Come back later". So I abandoned the idea.
- twic 6y agoInterestingly, a documentation overview says that tb-rl is an allowed value: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/Presentation#attr-writing-mode https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/P... But the detailed documentation it links to does not: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/writing-mode https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/w... I had a look in Bugzilla and couldn't find anything specific to tb-rl, but did find an ancient meta bug for writing-mode which links to millions of other bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=writing-mode https://bugzilla.mozilla.org/show_bug.cgi?id=writing-mode