Cannot select fonts with names containing a <number><letter> substring

Bug #212812 reported by cyber77
58
This bug affects 9 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Unassigned
inkscape (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

If I select fonts like "Someletters 3D" and press apply/ok the font-selection-box applys the font above in the list (before the choosed font). So these fonts cannot be selected. I have noticed this bug in 0.45, and it is still there in 0.46

Tags: fonts
Revision history for this message
Marcin Floryan (mfloryan) wrote :

Thanks for the bug report. Could you indicate what system are you working in and maybe attach the font that is causing this problem.

Revision history for this message
cyber77 (folkyvolk) wrote :
Revision history for this message
Marcin Floryan (mfloryan) wrote :

I can confirm the problem though it seems to be with this particular font rather than just its name.
In Win XP (0.46) the font is shown in the preview but is disregarded when selected.
The name is preserved in SVG when saved though:
<text
       xml:space="preserve"
       style="font-size:10px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bullpen 3D;-inkscape-font-specification:Bullpen 3D;font-stretch:normal;font-variant:normal;text-anchor:start;text-align:start;writing-mode:lr;line-height:125%"

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Marcin Floryan (mfloryan) wrote :

This is still a problem in SVN (as of 2008-04-07). There seem to be some similar bugs:
bug #167076, bug #167833

Revision history for this message
cyber77 (folkyvolk) wrote :

I have installed over 100-200 fonts. I have this problem only for fonts with names ending with "3D". All these fonts exist in a version without "3D", and that one is selected when applying. Other names are "Gunplay 3D", "Mexcellent 3D",..

Revision history for this message
sillyxone (sillyxone) wrote :

Confirm in 0.46.

Any font with number in the name will produce the error. Previewing is OK, just when I click Apply, it resets to default font, and displays this message in the command line (the full font name is "HL Brush 1BK"):

** (inkscape:23635): WARNING **: Family name HL Brush does not have an entry in the font lister.

Reproducing: run Inkscape from the Terminal so you can see the errors printed out. In Inkscape, type in some text, then set the font to any that has number in the name.

Revision history for this message
sillyxone (sillyxone) wrote :

I use fontforge to edit the font name, changing it from "HL Brush 1BK" to "HL Brush OneBK", and Inkscape has no problem applying it.

This confirming that the number in the font name is the culprit.

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

This bug was also reported in ubuntu as #326032, and I can confirm that it affects me too. I think the problem specifically seems to be with font names including a numeric character, immediately followed by a letter. For example, the following fonts cannot be selected in ubuntu: "Gyneric 3D", "Binary 01s BRK", "Binary X 01s BRK" (all from the ttf-aenigma package)

Changed in inkscape (Ubuntu):
status: New → Confirmed
summary: - Cannot select fonts with name ending with "3D"
+ Cannot select fonts with names containing a <number><letter> substring
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Still present in karmic beta

$ apt-cache policy inkscape
inkscape:
  Installed: 0.47~pre4-0ubuntu1
  Candidate: 0.47~pre4-0ubuntu1
  Version table:
 *** 0.47~pre4-0ubuntu1 0
        500 http://gb.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

Changed in inkscape (Ubuntu):
importance: Undecided → Low
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

still in inkscape_0.48.0-1ubuntu1

Changed in inkscape:
status: Confirmed → Triaged
Changed in inkscape (Ubuntu):
status: Confirmed → Triaged
su_v (suv-lp)
tags: removed: linux win32
Revision history for this message
MiCHiLU (djmchl) wrote :

Still present in Inkscape 0.48.2 r9819 on Mac OS X 10.8.2

Could you raise the level of importance?

Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced again on Windows XP, Inkscape trunk revision 12237.

Console warnings:
----
** (inkscape.exe:2704): WARNING **: Couldn't find row for font-family: Bullpen

(inkscape.exe:2704): Pango-WARNING **: couldn't load font "Bullpen Not-Rotated 18", falling back to "Sans Not-Rotated 18", expect ugly output.

(inkscape.exe:2704): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderWin32', script='common'
----

Revision history for this message
Jonathan Hofinger (jhofinger) wrote :

Not reproduced with the attached font in Windows 10, Inkscape Inkscape 0.92.4 (5da689c313, 2019-01-14) and 1.1-dev (6b4d57f, 2020-04-01). Closing as part of Inkscape's Bug migration.

Please reopen on http://inkscape.org/report if the problem occurs again.

Closed by: https://gitlab.com/jhofinger

Changed in inkscape:
status: Triaged → Invalid
Changed in inkscape (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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