Inkscape font: Courier -> Sans

Bug #408653 reported by Kvasir on 2009-08-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Undecided
Unassigned

Bug Description

I have a file created in Inkscape 0.46 (for OS X) that uses the "Courier" font in several text boxes. When I open the same file with the new 0.47 the font is remapped to "Sans". These are not even in the same family, and when I go and change the boxes to Courier the font looks the same, as if Inkscape has the wrong font file listed as "Courier". However, if I change the font to "Courier New" it changes to what I am expecting.

I don't know if it is linked to the other problem I have seen with people creating PDF's and having "Sans" become "Courier" but it seems a strange coincidence.

su_v (suv-lp) wrote :

"Sans" is Inkscapes fallback font (on OS X) if a referenced font can't be found.

Inkscape has its own font system based on the unix program 'fontconfig'. The 'courier' problem could be a result of changes in the font configuration file 'fonts.conf' inside the application bundle.

0.46 included '/System/Library/Fonts' whereas recent prerelease builds do not: the pango library - the internal font rendering engine - doesn't handle some proprietary font formats very well (apples .dfont, .fon and others - many of the included system fonts on OS X), so the System Font Library got dropped ATM (SVN rev. 20240). This might well change again when newer versions of pango are available.

Workaround: see the FAQ on the Inkscape Wiki how you can convert *.dfont and other apple font formats to *.ttf files so that they are available in the Inkscape font list.

FAQ > Mac OS X specific issues > Inkscape does not see some of the fonts
<http://wiki.inkscape.org/wiki/index.php/FAQ#Inkscape_does_not_see_some_of_the_fonts>

tags: added: fonts
removed: courier font sans
su_v (suv-lp) on 2014-08-08
tags: added: packaging
Changed in inkscape:
status: New → Triaged
su_v (suv-lp) wrote :

r13620

Changed in inkscape:
milestone: none → 0.91
status: Triaged → Fix Committed
Bryce Harrington (bryce) on 2015-02-21
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers