Bug? Single Quotes Around Font Names in .91 not Present in .48
As of the .91 release of inkscape, all style definitions have the font-names enclosed in single quotes. This change breaks SVG compatibility with Apache Batik. If it is a necessary change and in compliance with the SVG standard, let me know so I can fix the matter on the Batik end.
Anyone with information regarding the change, please contact me at adrianbakker[at]gmail.com
Thanks for your time,
On Tue, 2015-04-21 at 15:15 -0400, Adrian Bakker wrote:
As of the .91 release of inkscape, all style definitions have the font-names enclosed in single quotes. This change breaks SVG compatibility with Apache Batik. If it is a necessary change and in compliance with the SVG standard, let me know so I can fix the matter on the Batik end.
According to CSS, font family names with white space, digits, or punctuation characters other than hyphens should be quoted. The generic font key words 'serif', 'sans-serif', 'cursive', 'fantasy', and 'monospace' should not be quoted. Since Inkscape uses double quotes around the style attribute value, the fonts family names inside are quoted with single quotes. It should be perfectly legal to single quote family names even if it is not required by the above rule. See:
http://www.w3.org/TR/css3-fonts/#font-family-prop
Tav
participants (2)
-
Adrian Bakker
-
Tavmjong Bah