font-family css property value for text elements is not quoted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Testing in Inkscape version 0.48
If a font is used that has spaces in its name, the font-family property in the resulting svg must be quoted, by specification (https:/
While Inkscape itself recognizes its own svg, where the font names that are unquoted, there are other svg editors and renderers that will fail. I discovered this by inserting Inkscape-generated svg in Chrome.
This is how it currently builds the svg:
<tspan
This is how it should build:
<tspan
Thanks for taking the time to file a report!
It seems that the font-family attribute is correctly set with the latest stable Inkscape version (0.91).
Could you please update your Inkscape install?
I'm closing the report fixed, but don't hesitate to reopen if your still affected with Inkscape 0.91.