From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901
Description of problem:
running dia for a UML diagram with abstract classes does
not find the fonts it needs.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actual Results: three error message dialog boxes about missing fonts:
Warning no X Font for Helvetica-BoldOblique found,
same message also for fonts Helvetica-Bold, Courier-Oblique
Diagram is displayed all in one font - so I can't tell the difference
between an abstract class, and non abstract, and the same for functions.
Expected Results: Class names should be bold, abstract class names should
be bold italic, abstract function names should be italic.
james.dia was created with dia on RH7.1, which worked.
(Many of the other bugs in that release are fixed in RH7.2,
but this font business makes it unusable for me.
Created attachment 38165 [details]
example to create the bug described
It does work for me at home. I'll take a closer look at it tomorrow at work.
I suspect it's some font-install issue or so.
Works for me at work to.
What is the output of
rpm -qa | grep -i font
And what language/locale do you run in?
my machine is a clean RH 7.2 install,
locale is default
I'm sure it's a font config problem, but I couldn't spot anything obvious.
my machine is a clean RH7.2 with official patches. All other programs seem
to run great - although my .xsession-errors shows:
xmlencoding detect- iso-8859-1
don't know what program makes this. Any way, the other font info is:
odonnell@sagerdell(pts/1)~$ rpm -qa | grep -i font
I don't understand it. I just installed the same fonts, and it works for me.
Can you try:
xfd -fn -adobe-helvetica-bold-o-normal-*-100-*-*-*-*-*-*-*
And see if it works?
odonnell@sagerdell(pts/6)~$ xfd -fn \
Warning: Cannot convert string
"-adobe-helvetica-bold-o-normal-*-100-*-*-*-*-*-*-*" to type FontStruct
xfd: no font to display
but the following does display a font:
xfd -fn -adobe-helvetica-bold-o-normal-*-*-*-100-*-*-*-*-*
the font displayed is:
I wonder why it couldn't give a 100 pixel font?
Dia does that to get some metrics it can scale.
here's everything that I have that's close:
odonnell@sagerdell(pts/0)~/work$ xlsfonts -fn \
I found item 17 in the FAQ addresses this issue. So I followed it's directions
step by step, and it now works. urw-aliases, with a modified config file
is the key to success. How about making the RH 7.2 install do this. (not
needed for RH 7.1). I have yet to meet in a person anybody who had this working
from a vanillar RH 7.2 install.
We have this exact same problem with Dia and a default RedHat 7.2 install.
John's suggestion (follow item 17 in Dia's FAQ) worked, but it requires
installing a third party font package. It seems weird that others aren't able
to reproduce this problem. The URL for Dia's FAQ is:
It's strange that it seems to work for me.
I wonder why the adobe font didn't work while the urw one did.
I can't add urw-aliases to the distro though, since that would change which
fonts apps would get. I'd like to know what was different between them though.
We will have some rearrangement of the fonts in the next version i think. I'll
take a closer look at this then.
I have the same problem with Dia on RHL 7.2. It seems that the font path setup
for an everything install causes this to happen. On a different box with
a custom install without all the packages, Dia can use different fonts.
Hmmm. I have a bad feeling about this. Tammy, do you have Abiword installed on
the machine where it doesn't work?
Yes, abiword is installed. I tried rpm -e abiword and then killall -USR1 xfs to
reread the font server config file, but it still does the same thing. Feel
feel to come look at my box. I have 2 systems that are behaving this way.
After upgrading to RH7.3 (actually, a fresh, custom install, which I then
brought up to date using up2date), I got a similar problem: Dia couldn't find
ANY font (besides courier), it seemed.
Following the FAQ helped.
By comparing /etc/X11/fs/config with versions from other machines running RH7.2,
I realized that two entries were conspicuously absent from the "catalogue"
(The ":unscaled" versions of these entries are there.)
Adding these entries to /etc/X11/fs/config, after undoing the changes suggested
by the FAQ, also seemed to resolve the problem.
I don't know anything about fontserver configuration, but it seems as if the
above two enries should be there, and thus that something went wrong during
the installation (I certainly had not touched the config file prior to trying
to fix the problem with Dia). Maybe I chose an odd collection of font RPMs
For reference, here are my font packages:
thoth-1% rpm -qa | grep -i font
rawhide now has dia 0.91, which uses gtk2. It handles fonts quite differently,
so this problem should be gone.
*** Bug 76851 has been marked as a duplicate of this bug. ***