Comment 6 for bug 1416691

Revision history for this message
su_v (suv-lp) wrote :

On OS X 10.7.5:
- reproduced with Inkscpae 0.47, 0.48,5
- not reproduced with Inkscape 0.91 r13725, 0.91+devel r14397

The style attribute for the text as defined in the provided SVG file:
   style="font-family:'Helvetica',sans-serif;font-size:17.215;stroke:none;fill:black;"

Inkscape 0.91 supports single quotes for names in the 'font-family' style property, as well as font-family lists (for fallbacks).

The provided SVG file generated with pstoedit/GNU libplot 4.1 contains other flawed SVG code which may prevent rendering in some SVG viewers: Batik 1.8 for example reports "The "even-odd" identifier is not a valid value for the "fill-rule" property". It also lacks the default namespace declaration for SVG (browsers don't render the content; they present the XML document tree).

Current pstoedit 3.70 with GNU libplot 4.4 (plotutils 2.6) based on the provided PostScript file produces SVG output with a font-family list without quotes (renders as expected with 'R' in Helvetica in Inkscape 0.48.5 and 0.91). The SVG output also uses the correct attribute value for 'fill-rule' ("evenodd"), and includes the namespace declaration for SVG.

Re eog and rsvg-view: both use librsvg as SVG renderer, please check the bug tracker of librsvg for reports related to quoted font family names in style properties. Please note that the position of the <text> element in the generated SVG file is outside the defined viewport area (square area of 8in x 8in), so it is not supposed to be displayed visibly in SVG renderers which clip to the initial viewport (browsers, any viewers based on librsvg). Inkscape as SVG Editor displays content outside the initial viewport, and thus allows easy visual checking of the reported issue.

Closing as 'Fix Released' for project 'Inkscape', milestone set to 0.91.