Red Hat Bugzilla – Bug 242274
xfig fonts error when input text
Last modified: 2007-11-30 17:12:06 EST
Description of problem:
xfig can't find fonts when input text
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open a new xfig file
2. Choose text tool
3. Click to input text
The following error message pops up:
"Can't find -*-times-medium-r-normal--13-*-*-*-*-*-ISO8859-*, using 6x13"
Should be able to input text
This happens for almost all fonts. Remove xfig package and install the old FC6
xfig package (version 3.2.4-21.1) and there is no such problem.
The screen shot of the error message is attached.
Created attachment 156001 [details]
Screen shot of the xfig error message
I can confirm this bug. It makes xfig-3.2.5-1.fc7 unusable; it will not read
old .fig files that contain any of the "missing" fonts, which is almost all as
mentioned above. Not only does xfig 3.2.4 work, but also 3.2.5_alpha5 (compiled
from source). The problem seems to be in the latest 3.2.5 source. The problem
sounds like Debian bug #366948, although the resolution of that bug report does
not seem to match the problem in Fedora.
I traced the problem to the scalablefonts resource; it was off by default in
earlier versions, but now the default is on. If you start xfig like this:
or if you add the X11 resource
to either /usr/share/X11/app-defaults/Fig or to ~/.Xresources, you get back to
the correct behavior. One possible fix would be to add this to the Fig.ad file
in the source. However, it is possible that there is some obscure xorg font
package I have not installed which would fix this problem. If so, xfig should
be made dependent on it; without this workaround, xfig is unusable.
I'm a new co-maintainer for xfig, this is a duplicate of bug 56490, closing as such.
*** This bug has been marked as a duplicate of 56490 ***