Subject: xdm login widget fonts?
To: None <netbsd-help@NetBSD.ORG>
From: Jari Kokko <jkokko@tnso13.ntc.nokia.com>
List: netbsd-help
Date: 02/22/1997 13:20:11
Hi all,

For a long time I've been getting this from xdm:
Warning: Cannot convert string "*-new century schoolbook-medium-r-normal\
-*-180-*" to type FontStruct
Warning: Cannot convert string "*-new century schoolbook-bold-r-normal\
-*-180-*" to type FontStruct
Warning: Cannot convert string "*-new century schoolbook-bold-i-normal\
-*-240-*" to type FontStruct

and finally today I started experimenting a little, I added lines
like:
xlogin.Login.font: variable

into xdm/Xresources, and sure enough, it isn't the font that's the
problem, because I got:
Warning: Cannot convert string "variable" to type FontStruct

What's strange is that, if I add a line:
xload -font variable &

in xdm/Xsetup, it finds the font just fine.

I have the following as my Xsetup, so I don't think that font path is
the problem, but it is something with the xdm login widget itself:

------------------------------------------------------------------------
#!/bin/sh
# This prg is run as root before giving the login window

PATH=/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin
xset fp /usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/Type1

xconsole -xrm '*text.scrollHorizontal: never' -font 6x10 -geometry 500x150+2-2 -daemon
xrefresh
exit 0
------------------------------------------------------------------------

Any idea what's going on? Do others get normal font behaviour with the
xdm login window? It isn't a big deal, but somewhat annoying.

My system is running NetBSD 1.2, and the X11R6 binary distrib compiled
by gwr.

Jari Kokko