Italic styling upon font with no italic variant results in wrong family specification, rendering issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
Create a text object in Inkscape (click rather than drag) and select a font that does +not+ have an italic variant. In my case, I'm using a TT font called "American Typewriter" (version 6.1d5e2, I think it came with OS X). Write a line of text, select a portion, and italicise this portion. This writes the <tspan> incorrectly - the '-inkscape-
The result of this is that a PDF export renders the italicised/oblique portion incorrectly as a normal font. However a PNG export +does+ render it correctly. Fixing the font name in the XML editor and reloading the document is sufficient to get it working again.
If you repeat the experiment with a font that does have an italic variant, such as "Times New Roman", the font specification is written correctly (without the "Italic" suffix) and the PDF export works fine.
Running 0.48.2 (r9819) on OS X 10.6.8. Sample bug case attached.
AFAICT this is a duplicate of /bugs.launchpad .net/inkscape/ +bug/200899>
Bug #200899 “Font style ignored in eps/pdf output”
<https:/