On a project I'm working on, I've got some views that use maps generated by Inkscape. However, we've ran into some slight problems...specifically, some of the maps do not render text, at all.
After some research into this issue here on StackOverflow, I discovered there's some good reasons for this:
flowRoot
, flowRegion
, and flowPara
elements. I updated my maps to be version 1.2 documents, but it didn't help.flow*
elements, being part of the SVG 1.2 standard, aren't actually implemented in most browsers, because SVG 1.2 was never accepted by anyone. This explains why no amount of cajoling caused the text on our maps to appear.<text>
instead of <flowPara>
This revealed a deeper problem that I couldn't find the answers to from a Google search: Inkscape is filling the documents with other crap that it can render (flowRoot
and flowRegion
, respectively), but IE/Chrome has no implementation for.
Questions:
flowRoot
?flowRegion
?In Inkscape, select the flowed text object(s). Go to the Text menu, and select "Convert to text".
The flowed text elements will now be plain <text>
elements and will display properly in the browser.
If you save the document as an "Optimised SVG" Inkscape will warn you about the flow elements that won't render in browsers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With