Comment 5 for bug 1429793

Revision history for this message
André S. (anschitech) wrote :

I played a bit with 92pre3 on Windows.
When I choose "Courier New" the font is displayed as desired.
When choosing "Courier" from the font list, a sans serif font is displayed. (see attachment)
When I export the file to PDF and open it in a PDF reader, the text is also displayed as in Inkscape (sans serif font).
When opening the PDF in a text editor there the wrong font is embedded:

Sample from PDF:
 12 0 obj
 << /Type /FontDescriptor
   /FontName /JDRXLG+DejaVuSans
   /FontFamily (DejaVu Sans)
   /Flags 32
   /FontBBox [ -1020 -415 1680 1166 ]
   /ItalicAngle 0
   /Ascent 928
   /Descent -235
   /CapHeight 1166
   /StemV 80
   /StemH 80
   /FontFile2 8 0 R
 >>
 endobj

But the SVG says Courier:
    <text
       id="text4577"
       y="17"
       x="5"
       style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:2.64583325px;line-height:6.61458302px;font-family:Courier;-inkscape-font-specification:Courier;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:0px;word-spacing:0px;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker:none;enable-background:accumulate"
       xml:space="preserve"><tspan
         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Courier;-inkscape-font-specification:Courier;text-align:start;text-anchor:start;stroke-width:0.26458332px"
         y="17"
         x="5"
         id="tspan4575"
         sodipodi:role="line">This is text written with &quot;Courier&quot; font.</tspan></text>