IRIX and Software

Xfig and fonts

Anyone else have nekoware's Xfig (3.2.5-alpha5) working 'with' fonts?

It just says it "Can't find Times-Roman-13, using fixed" Or "Can't find xyzfontname-##, using 6x13" 'fixed' or '6x13' come from the Fig app-defaults file.. as a default font that is used. 6x13 does work, I am able to get smaller sized fonts versus the large 'fixed' one if I had that hardset in the Fig app-defaults file.

I ran strace on xfig.. nothing helpful.
xset -q shows a bunch of FONTPATH locations that exist
I can run:
xfontsel and I believe I can show lots of fonts and settings. Temes and Helvetica, etc..
I can run
xlsfonts |grep times and find lots of fonts.. adobe and urw- versions of times.. as well as the last few:
[octane]:~ $ xlsfonts | grep times |tail -10
-urw-times-medium-r-normal--0-0-0-0-p-0-koi8-u
-urw-times-medium-r-normal--0-0-0-0-p-0-microsoft-cp1251
times-bold
times-bold
times-bolditalic
times-bolditalic
times-italic
times-italic
times-roman
times-roman

I did have the fontserver turned off.. chkconfig had it off. So I enabled it in chkconfig and started fontserver manually... xfs is running. No change to Xfig though.

So I give up.. anyone else have Xfig working with fonts? :)
Hi there!

Never used Xfig myself but to give some ideas...

If you use XServer and Fontserver on the same machine, then there won't be much of a difference when starting the Fontserver since the fonts are not installed.

When fonts are missing you have 3 options:

1) Install the missing fonts (recommended)
--> https://archive.org/stream/xwindowsyste ... 8/mode/1up

Chapter 5, 5.3 Adding New Fonts

1.1) XServer without Fontserver

- After having installed the fonts, check with

# xset -q

that they are in your fontpath, as above in your post.

- Rehash the XServer with

# xset fp rehash

- Fire up Xfig

1.2) XServer with Fontserver

- After having installed the fonts, start up the Fontserver.

/usr/bin/X11/fs (or whatever)

- Check with

# fsinfo -server tcp/127.0.0.1:7000

that it is reachable, up and working.

- Add Fontserver to XServer

# xset fp+ tcp/127.0.0.1:7000 (change IP/hostname and/or port accordingly)

- Fire up Xfig

2) Alias the missing fonts to existing ones on your X Server
--> https://archive.org/stream/xwindowsyste ... 8/mode/1up

Chapter 5, 5.3.4.1 Aliasing

This will be tedious since you'll need to add every single missing font-alias by hand. And keep in mind that this is just a dirty workaround in detriment of usability.

2.1) XServer without Fontserver

- Rehash the XServer with

# xset fp rehash

- Fire up Xfig

2.2) See 1.2)

3) Give up


Enjoy :)
It's not a solution but I use "xfig -nosc" to avoid error messages.