After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 143246 - Can not find Avant Garde -font family
Can not find Avant Garde -font family
Status: RESOLVED WONTFIX
Product: dia
Classification: Other
Component: general
0.94-pre1
Other Linux
: Normal normal
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2004-05-27 00:09 UTC by Roland Stigge
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Roland Stigge 2004-05-27 00:09:46 UTC
A Debian user reported missing PostScript fonts when using old dia files
containing references to e.g. avantgarde. One gets warnings like:

** (dia:8851): WARNING **: Couldn't find font family for avantgarde

See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=250952

there's an example attached.
Comment 1 Lars Clausen 2004-05-28 19:11:42 UTC
Avantgarde isn't a standard PostScript font (there's only 13 that are standard).  
However, helvetica is, and should be recognized.  Problem in this case is simply
that the font names were lowercase in the diagram, and we didn't do a caseless
compare.  You can fix at least some of the problems by changing the font names
to capitalization that matches that of the list in the bottom of lib/font.c
(NewCenturySchoolbook-BoldItalic etc).  I'm fixing the strcmp for the upcoming
brown bag release.
Comment 2 Roland Stigge 2004-07-10 10:18:49 UTC
I don't know what "brown bag" means, but the problem is still present with
0.94-pre1.
Comment 3 Hans Breuer 2004-11-06 01:21:19 UTC
This is a font configuration issue out of the scope of Dia.
Earlier versions (>=0.90) used hardcode font names - which
IIRC where matched by the fontserver to the real font used.

Since the swicth to Gtk2 Dia is using Pango to resolve the
fonts. Nowadays it's fontconfig below Pango which does the
font translations. It should be possible to configure
it to match 'avangarde' to something similar. Sure this
would make the diagram loading system specific - but it
was that way with former Dia versions as well.

Sorry there is nothing more we can do about this.