[comp.windows.x] A Font Problem with Xtroff ........ XTROFF

haozhou@acsu.buffalo.edu (hao zhou) (07/01/90)

I built xtroff on our sun4 machines. I have a problem with font path.
I have two font paths, /util/X11/lib/fonts and $MYFONTPATH. The former
contains X11 fonts like 100dpi, 75dpi, misc and so on. The latter 
contains devpsc/, devX11, suntroff/, etc. If I set font path variable 
WIDTHDIR to /util/X11/lib/fonts when I do make, xtroff won't be able
to find devX11/. On the other hand, if I set it to $MYFONTPATH. 
xtroff won't be able to find X11 fonts. So I tried to do symbolic 
link to /util/X11/lib/fonts like this,
	ln -s /util/X11/lib/fonts/75dpi $MYFONTPATH/75dpi ...
It seems not working. The following message sometimes appears 
on the bottom of xtroff window.
	"Can't find (-)45 in X11 character table"
I don't understand why it can't find X11 fonts even though I symbolically
linked xtroff font path to X11 font path.

Any solution or suggestion will be highly appreciated.

Thank you.


	Hao Zhou


Please reply to haozhou@acsu.buffalo.edu .