NetBSD-Users archive

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

Re: Cannot convert string "nil2" to type FontStruct



On Wed, 7 Oct 2009, Caloro Maurizio wrote:

Hello Netbsd members
i add "nil2" "courier-medium" fonts for xterm and ElvisX11. i think
was successful but if i start Xterm / elvis stil the Warning appair.

Please what are me problem here ?, which file i missed here to
configure the right font.
thanks
MC

NetBSD Stern 5.0 NetBSD 5.0 (GENERIC) #0: Sun Apr 26 18:50:08 UTC 2009  
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-RELEASE/i386/200904260229Z
-obj/home/builds/ab/netbsd-5-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386


pkg_add font-misc-misc
mkfontdir       /usr/X11R7/lib/X11/fonts/misc

cat             /usr/X11R7/lib/X11/fonts/misc/fonts.dir
[Snip] - over 100 entries
nil2.pcf.gz -misc-nil-medium-r-normal--2-20-75-75-c-10-misc-fontspecific

fc-cache -v
[Snip] -[please, why appair here only 55 fonts ?]

ongoing lobotomization of the fonts code by xorg hackers...

/usr/X11R7/lib/X11/fonts/misc: skipping, existing cache is valid: 55 fonts, 0 
dirs

Stern# xterm &
Stern# Warning: Cannot convert string "nil2" to type FontStruct

which version of xterm are you running?  (I made fixes earlier this year).

xterm's using nil2 for the unclutter feature, which can be disabled.
It'll recover if the font doesn't exist (in current versions), but
may still warn.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


Home | Main Index | Thread Index | Old Index