[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

FontStruct problem



I saw one question on this in the archives, but I didn't see an answer, so
I'll ask it again.

I have one working debian X installation and one not working installation
(The one that works is 2.1, the one that doesn't is 2.1r3, both plain
vanilla).  Unfortunately the one that doesn't work is the one I need to work. 
Obviously, I fouled up my new installation, but I can't figure out where.  

Netscape and xemacs give the following errors:  
havo@debian:~$ netscape &
[1] 2019
havo@debian:~$ Warning: Cannot convert string
"-*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string
"-*-helvetica-medium-r-normal-*-*-120-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string
"-*-helvetica-medium-r-*-*-*-100-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string
"-*-helvetica-bold-r-*-*-*-100-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string
"-*-helvetica-medium-o-*-*-*-100-*-*-*-*-iso8859-*" to type FontStruct
Warning: Cannot convert string
"-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct

Note:  If I edit my font preferences in Netscape, I only have a choice of
three:  clean (Schumacher), fixed (misc), fixed (Sony).

I get the same sort of error with xemacs:

havo@debian:~$ xemacs &
[1] 2268
havo@debian:~$ Warning: Cannot convert string
"-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct

Thinking this my be a fontserver problem, I've check the following:

I think this means my X font server is running:
havo@debian:~$ ps waux | grep xfs  
root       160  0.0  0.0  1576    12  ?  S   Oct 20   0:00 (xfs)

This is /etc/X11/xfs/config:
havo@debian:/usr/X11R6/lib/X11/fs$ more /etc/X11/xfs/config
# /etc/X11/xfs/config
#
# X font server configuration file

# allow a maximum of 10 clients to connect to this font server
client-limit = 10
# when a font server reaches its limit, start up a new one
clone-self = on
# log errors using syslog
use-syslog = on
# paths to search for fonts
catalogue =
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr
/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/f
onts/100dpi/
# in decipoints
default-point-size = 120
# x1,y1,x2,y2,...
default-resolutions = 75,75,100,100

The font directories listed above look OK--i.e., mkfontdir has been run in
all of them.  I see a fonts.dir, et al file in each.


Any idea why I'm experiencing such a shortage of fonts--I have oodles of
them installed.


TIA, Kevin


Reply to: