smarks@eng.sun.COM (Stuart W. Marks) (04/10/90)
| After I typed "olwm -display MYDISPLAY" I got an error message: | | OLWM fatal error: can't load glyph font "-sun-open look glyph-*-*-*-* | -12-*-*-*-*-*-*-*"; exiting | | The OpenLook fonts are all installed in /usr/lib/X11/fonts/xview and glyph | fonts are in /usr/lib/X11/fonts/xview/misc. Could someone out there tell | me which glyph font it is looking for and where the font should be? I am | confused because there are fonts named "olglxx.snf" and "olglxx.bdf" in my | /usr/lib/X11/ misc and there are fonts called "olglyphxx.snf". I couldn't | figure out which fonts are needed to run olwm. I don't have any | documentation about olwm, please help! This is probably an installation problem of some sort. The absolute location of the fonts shouldn't really matter. All you have to do is tell the server where to find them. Here's a list of things to try. (I'll assume you're running some variant of X11R4, because you talk about .snf files.) - Just in case, make sure you have the latest version of the OPEN LOOK glyph font bdf files. Older versions will produce a font named something like "olglyph-12" instead of the proper LFD name (i.e. the kind with umpteen hyphens.) Olwm requires the latest version. - Recompile the bdf file using the "bdftosnf" utility. - Reconstruct the font directory using the "mkfontdir" utility. Both "bdftosnf" and "mkfontdir" are provided with X11R4. - Add the directory name to the server's font path, using the server's -fp command-line option (again, I'm assuming X11R4). Or, if the server is already running, use "xset +fp pathname". After doing all of this, run "xlsfonts | grep -i glyph". This will tell you if your server really has picked up the OPEN LOOK glyph font. Hope this helps, s'marks Stuart W. Marks ARPA: smarks@eng.sun.com Window Systems Group UUCP: sun!smarks Sun Microsystems, Inc.