font RomulanEagle not displayed correctly

Bug #209345 reported by chb
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Low
Unassigned

Bug Description

The TrueType font "RomulanEagle" ist not displayed correctly in Inkscape. It is correct in the font list and in the preview in the font-dialog. When you press "apply" or "Anwenden" then a standard sans serif font is displayed. In other Windows programs the font works correctly. I have tried two files. The one in the following link and the other already on the computer (Roe_____.ttf), but both files are identical.
The font can be found at: http://www.galae-rihanna.com/html/download/schriften/romulan.eagle.TTF

System: Windows XP SP2 German
Inkscape: Version 0.45.1, built Mar 21 2007
I tried the later versions of Inkscape (0.46pre4.2) and the nightly from march 29 2008 (inkscape-0803290100.7z) but the result is the same.

Thank you!

Tags: fonts win32
Revision history for this message
Rygle (rygle) wrote :

Can anyone reproduce this problem on another platform?

Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Windows (wine), build 21210 and 0.46 (official).
But not reproduced on Ubuntu 8.10, build 21213.

Changed in inkscape:
importance: Undecided → Low
status: New → Confirmed
tags: added: win32
Revision history for this message
jazzynico (jazzynico) wrote :

Also reproduced with Celtic Garamond the 2nd font.
Note that a warning icon tooltiped "font not found on system" show in the font list entry when I try to use the font.

Revision history for this message
Jan Kockrow (jk-3) wrote :

I can re-produce this issue with many other fonts in Win7 with version 0.48. One of these fonts is "TGL 0-16".

Interestingly, the drop down menu shows this font with the name "TGL 0 -16" inserting a space between the zero and the hyphen. I found that suspicious and opened the SVG file in a text editor and checked the style attribute of the text node:

font-family:TGL 0-16;-inkscape-font-specification:TGL 0-16

Note, that the font family name is not in quotes! I manually added single quotes around the font family:

font-family:'TGL 0-16';-inkscape-font-specification:'TGL 0-16'

...and opened the file in Inkscape again and voilá, now the font is properly displayed in my drawing.

Unfortunately it will be reset to defaul as soon as I click or move the text object, because the manually added quotes are being removed from the svg file by Inkscape.

Revision history for this message
Stephen Simpson (ssimpo) wrote :

I've had the same problem with, 'Celtic Garamond the 2nd', using Linux Mint and Inkscape 0.48. The problem in this case seems to be with the number in the font name. While trying to edit the XML directly in Inkscape (to see if I could find a way round the problem), I noticed that everytime I set the style attribute with "font-family:Celtic Garamond the 2nd", it was reduced to: "font-family:Celtic Garamond the 2nd".

Hence, for some reason Inkscape does not like the number. I tried adding either single or double quotes around the font name but these were lost. I then tried editing it in an external text editor. On loading into Inkscape the font now displayed correctly! However, it get's lost again if you try to edit or resize the text.

Revision history for this message
Stephen Simpson (ssimpo) wrote :

Sorry that should have read:

I've had the same problem with, 'Celtic Garamond the 2nd', using Linux Mint and Inkscape 0.48. The problem in this case seems to be with the number in the font name. While trying to edit the XML directly in Inkscape (to see if I could find a way round the problem), I noticed that everytime I set the style attribute with "font-family:Celtic Garamond the 2nd", it was reduced to: "font-family:Celtic Garamond the".

Hence, for some reason Inkscape does not like the number. I tried adding either single or double quotes around the font name but these were lost. I then tried editing it in an external text editor. On loading into Inkscape the font now displayed correctly! However, it get's lost again if you try to edit or resize the text.

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

> The problem in this case seems to be with the number in the font name.

Tracked in
Bug #212812 "Cannot select fonts with names containing a <number><letter> substring”
<https://bugs.launchpad.net/inkscape/+bug/212812>

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

Jan Kockrow wrote:
> I can re-produce this issue with many other fonts in Win7
> with version 0.48. One of these fonts is "TGL 0-16".

Likely the same as tracked in
Bug #271290 "Cannot select a font with leading zeroes in name properly”
<https://bugs.launchpad.net/inkscape/+bug/271290>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.