Certain fonts dont work

Bug #167377 reported by Razor85
4
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Richard Hughes

Bug Description

Certain fonts dont work with inkscape, like they show
on the text and font dialog but when you apply them to
text, they simply dont apply.An example is that font,
magnum pi, found at:

http://www.abstractfonts.com/fonts/designers/static-119-Jenny+Barck-1.html

It occurs on both win32 and linux, so please check twice.
Thanks.

Revision history for this message
Aaron C Spike (acspike) wrote :

I've confirmmed this problem with this and a few other fonts
on win32.

Revision history for this message
Aaron C Spike (acspike) wrote : Aosval.ttf

Other attachments

Revision history for this message
Aaron C Spike (acspike) wrote : 4YEOGARD.TTF

Other attachments

Revision history for this message
Richard Hughes (cyreve) wrote :

This is a croco issue. None of the font names here have
names which are valid as C identifiers, so croco refuses to
parse the full definition. If you want arbitrary strings,
apparently you have to quote them.

Anyway, we should quote stuff before we write it out,
however I'm wondering if we should do something about croco
anyway so that we can parse files created by not-so-strict
apps.

Revision history for this message
Richard Hughes (cyreve) wrote :

Hmm, I can't figure this out. pjrm: What's the best way to
special-case font-family (or all string types) so that they
get quoted when they need to be but aren't quoted in the
xml::node?

Revision history for this message
Darksarin (darksarin) wrote :

This is similar to my (Darksarin) findings with Bucephalus.
 I didn't have a linux machine on which to test, but the
win32 machines don't handle certain fonts either.

A word to the wise--check fonts before committing to use
them in an inkscape project!

Revision history for this message
Khiraly-users (khiraly-users) wrote :

Its is valid for the quasi-standard DejaVu font, but not for
all the family.

What is WORKING in inkscape:
Roman
Regular
Regular Italic
Regular Condensed
Regular Condensed Italic

Book
Medium (appears bad on dialog window, but apply right)
Medium Italic (appears bad on dialog window, but apply right)

Light
Light Italic

Oblique
Italic
Book Oblique (not sure)

Bold
Bold Oblique
Bold Italic

Demi Bold (not sure)
Demi Bold Italic (not sure)

------
What is NOT working in inkscape:

Demi
Demi Oblique
BoldOblique
ExtraLight

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

Originator: NO

I added proper quoting of fontnames and now all fonts attached to this bug
work, except for "New Aosval" which is listed in the font list as "New", so
its name is already wrong as given to Inkscape by fontconfig. Cyreve, can
you have a look what is wrong with that font? Is it fixable?

Some font faces not working is a different bug.

vonHalenbach (lustik)
Changed in inkscape:
status: New → Confirmed
tags: added: fonts
removed: other
Revision history for this message
su_v (suv-lp) wrote :

The fonts from comments 1-3 work ok in Inkscape 0.91 r13725 and 0.91+devel r14224 (tested on OS X 10.7.5, X11-backend).

Remaining issue with font 'Aosval.ttf' (listed with its font name 'Holiday') AFAIU needs better upstream handling in fontconfig/pango (Windows symbol font):
https://bugs.freedesktop.org/show_bug.cgi?id=58641
http://lists.freedesktop.org/archives/fontconfig/2015-May/005487.html

Closing as 'Fix Released' based on the available test cases.

Changed in inkscape:
milestone: none → 0.91
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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