xfig broken in slackware?
I am running slackware 10.0, and Xfig does not seem to load any of the
fonts. I can pick a different font, or change font size, and it
displays exactly the same font, which appears to be some sort of
default xfig font. I suspect this has something to do with the font
installation and paths, but I am not familiar enough with fonts to be
able to debug this. Any help would be appreciated. Thank you.
Re: xfig broken in slackware?
Andrew Sarangan wrote:[color=blue]
> I am running slackware 10.0, and Xfig does not seem to load any of the
> fonts. I can pick a different font, or change font size, and it
> displays exactly the same font, which appears to be some sort of
> default xfig font. I suspect this has something to do with the font
> installation and paths, but I am not familiar enough with fonts to be
> able to debug this. Any help would be appreciated. Thank you.[/color]
Is xfig broken in Slack? Not inherently; I've used it for years.
What version/where did you get it from?
Try loading xfig from a console, with debug enabled:[color=blue]
> xfig -debug[/color]
Does it print anything useful?
What are your language settings?[color=blue]
> env | grep LC_
> env | grep LANG[/color]
- Daniel
Re: xfig broken in slackware?
Andrew Sarangan wrote:[color=blue]
> I am running slackware 10.0, and Xfig does not seem to load any of the
> fonts. I can pick a different font, or change font size, and it
> displays exactly the same font, which appears to be some sort of
> default xfig font. I suspect this has something to do with the font
> installation and paths, but I am not familiar enough with fonts to be
> able to debug this. Any help would be appreciated. Thank you.
>
>[/color]
Google is your friend; the first entry to the query "xfig Slackware
12.0" give the solution:
[url]http://www.unixadmintalk.com/f70/work-around-broken-xfig-slackware-12-0-a-501001/[/url]
Olive
Re: xfig broken in slackware?
On Nov 23, 5:16 pm, D Herring <dherr...@at.tentpost.dot.com> wrote:[color=blue]
> Andrew Sarangan wrote:[color=green]
> > I am runningslackware10.0, andXfigdoes not seem to load any of the
> >fonts. I can pick a different font, or change font size, and it
> > displays exactly the same font, which appears to be some sort of
> > defaultxfigfont. I suspect this has something to do with the font
> > installation and paths, but I am not familiar enough withfontsto be
> > able to debug this. Any help would be appreciated. Thank you.[/color]
>
> Isxfigbroken in Slack? Not inherently; I've used it for years.
> What version/where did you get it from?
>
> Try loadingxfigfrom a console, with debug enabled:[color=green]
> >xfig-debug[/color]
>
> Does it print anything useful?
>
> What are your language settings?[color=green]
> > env | grep LC_
> > env | grep LANG[/color]
>
> - Daniel[/color]
The only error message is "Warning: Cannot convert string "7x13bold"
to type FontStruct. This is displayed on the xterm I am starting xfig
from. The another error window pops up along with the Xfig window and
that says "Can't load font: 8x13bold, using 6x13".
After that everything runs without any error messages, but when I
change fonts nothing really changes.
Re: xfig broken in slackware?
On Nov 23, 5:28 pm, Olive <olive...@tele2allin.be> wrote:[color=blue]
> Andrew Sarangan wrote:[color=green]
> > I am runningslackware10.0, andXfigdoes not seem to load any of the
> >fonts. I can pick a different font, or change font size, and it
> > displays exactly the same font, which appears to be some sort of
> > defaultxfigfont. I suspect this has something to do with the font
> > installation and paths, but I am not familiar enough withfontsto be
> > able to debug this. Any help would be appreciated. Thank you.[/color]
>
> Google is your friend; the first entry to the query "xfigSlackware
> 12.0" give the solution:
>
> [url]http://www.unixadmintalk.com/f70/work-around-broken-xfig-slackware-12[/url]...
>
> Olive[/color]
I saw that one too, but it didn't see to be the same thing. But I
tried what they suggested
xfig -library_dir /usr/lib/X11/xfig/Libraries -keyFile /usr/lib/X11/
xfig/CompKeyDB
but the error message I got was exactly the same as before.
Re: xfig broken in slackware?
On Nov 23, 5:16 pm, D Herring <dherr...@at.tentpost.dot.com> wrote:[color=blue]
> Andrew Sarangan wrote:[color=green]
> > I am runningslackware10.0, andXfigdoes not seem to load any of the
> >fonts. I can pick a different font, or change font size, and it
> > displays exactly the same font, which appears to be some sort of
> > defaultxfigfont. I suspect this has something to do with the font
> > installation and paths, but I am not familiar enough withfontsto be
> > able to debug this. Any help would be appreciated. Thank you.[/color]
>
> Isxfigbroken in Slack? Not inherently; I've used it for years.
> What version/where did you get it from?
>
> Try loadingxfigfrom a console, with debug enabled:[color=green]
> >xfig-debug[/color]
>
> Does it print anything useful?
>
> What are your language settings?[color=green]
> > env | grep LC_
> > env | grep LANG[/color]
>
> - Daniel[/color]
env | grep LC_ gives "LC_COLLATE=C". env | grep LANG gives
"LANG=en_US"
Re: xfig broken in slackware?
Andrew Sarangan wrote:[color=blue]
> On Nov 23, 5:16 pm, D Herring <dherr...@at.tentpost.dot.com> wrote:[color=green]
>> Andrew Sarangan wrote:[color=darkred]
>>> I am runningslackware10.0, andXfigdoes not seem to load any of the
>>> fonts. I can pick a different font, or change font size, and it
>>> displays exactly the same font, which appears to be some sort of
>>> defaultxfigfont. I suspect this has something to do with the font
>>> installation and paths, but I am not familiar enough withfontsto be
>>> able to debug this. Any help would be appreciated. Thank you.[/color]
>> Isxfigbroken in Slack? Not inherently; I've used it for years.
>> What version/where did you get it from?
>>
>> Try loadingxfigfrom a console, with debug enabled:[color=darkred]
>> >xfig-debug[/color]
>>
>> Does it print anything useful?
>>
>> What are your language settings?[color=darkred]
>> > env | grep LC_
>> > env | grep LANG[/color]
>>
>> - Daniel[/color]
>
> The only error message is "Warning: Cannot convert string "7x13bold"
> to type FontStruct. This is displayed on the xterm I am starting xfig
> from. The another error window pops up along with the Xfig window and
> that says "Can't load font: 8x13bold, using 6x13".
>
> After that everything runs without any error messages, but when I
> change fonts nothing really changes.[/color]
I dunno what's wrong. A couple more things to check:
This is xfig as distributed by slack 10.0?
transfig-3.2.4 and xfig-3.2.3d?
Did you install all the font packages (x11-fonts-misc,
x11-fonts-scale, x11-fonts-100dpi)?
Will a later version compile and run properly?
[url]ftp://ftp.slackware.com/pub/slackware/slackware_source/t/xfig/xfig.3.2.4.full.tar.bz2[/url]
or 3.2.5 from xfig.org
- Daniel
Re: xfig broken in slackware?
On Nov 23, 9:08 pm, D Herring <dherr...@at.tentpost.dot.com> wrote:[color=blue]
> Andrew Sarangan wrote:[color=green]
> > On Nov 23, 5:16 pm, D Herring <dherr...@at.tentpost.dot.com> wrote:[color=darkred]
> >> Andrew Sarangan wrote:
> >>> I am runningslackware10.0, andXfigdoes not seem to load any of the
> >>> fonts. I can pick a different font, or change font size, and it
> >>> displays exactly the same font, which appears to be some sort of
> >>> defaultxfigfont. I suspect this has something to do with the font
> >>> installation and paths, but I am not familiar enough withfontsto be
> >>> able to debug this. Any help would be appreciated. Thank you.
> >> Isxfigbroken in Slack? Not inherently; I've used it for years.
> >> What version/where did you get it from?[/color][/color]
>[color=green][color=darkred]
> >> Try loadingxfigfrom a console, with debug enabled:
> >> >xfig-debug[/color][/color]
>[color=green][color=darkred]
> >> Does it print anything useful?[/color][/color]
>[color=green][color=darkred]
> >> What are your language settings?
> >> > env | grep LC_
> >> > env | grep LANG[/color][/color]
>[color=green][color=darkred]
> >> - Daniel[/color][/color]
>[color=green]
> > The only error message is "Warning: Cannot convert string "7x13bold"
> > to type FontStruct. This is displayed on the xterm I am starting xfig
> > from. The another error window pops up along with the Xfig window and
> > that says "Can't load font: 8x13bold, using 6x13".[/color]
>[color=green]
> > After that everything runs without any error messages, but when I
> > change fonts nothing really changes.[/color]
>
> I dunno what's wrong. A couple more things to check:
>
> This is xfig as distributed by slack 10.0?
> transfig-3.2.4 and xfig-3.2.3d?
>
> Did you install all the font packages (x11-fonts-misc,
> x11-fonts-scale, x11-fonts-100dpi)?
>
> Will a later version compile and run properly?[url]ftp://ftp.slackware.com/pub/slackware/slackware_source/t/xfig/xfig.3[/url]....
> or 3.2.5 from xfig.org
>
> - Daniel- Hide quoted text -
>
> - Show quoted text -[/color]
OK, I figured out. Dumb mistake on my part. I am missing fonts on my X
client (Xming). I had not realized that the fonts being used are from
the client and not the server. Once I installed the fonts that came
with Xming, it worked fine. Thanks for all the suggestions, anyway.