Bug 242274 - xfig fonts error when input text
Summary: xfig fonts error when input text
Status: CLOSED DUPLICATE of bug 56490
Alias: None
Product: Fedora
Classification: Fedora
Component: xfig
Version: 7
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Hans de Goede
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-06-02 22:13 UTC by Yusuf Ma
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2007-11-15 22:43:21 UTC

Attachments (Terms of Use)
Screen shot of the xfig error message (38.64 KB, image/png)
2007-06-02 22:13 UTC, Yusuf Ma
no flags Details

Description Yusuf Ma 2007-06-02 22:13:16 UTC
Description of problem:
xfig can't find fonts when input text

Version-Release number of selected component (if applicable):

How reproducible:
Every time

Steps to Reproduce:
1. Open a new xfig file
2. Choose text tool
3. Click to input text
Actual results:
The following error message pops up:
"Can't find -*-times-medium-r-normal--13-*-*-*-*-*-ISO8859-*, using 6x13"

Expected results:
Should be able to input text

Additional info:
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.

Comment 1 Yusuf Ma 2007-06-02 22:13:16 UTC
Created attachment 156001 [details]
Screen shot of the xfig error message

Comment 2 David Munro 2007-07-11 21:06:52 UTC
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.

Comment 3 David Munro 2007-07-26 00:09:28 UTC
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:

xfig -noscalablefonts

or if you add the X11 resource

Fig.scalablefonts: false

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.

Comment 4 Hans de Goede 2007-11-15 22:43:21 UTC

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 ***

Note You need to log in before you can comment on or make changes to this bug.