[comp.windows.open-look] Button Font Under MIT X

rm@sei.cmu.edu (Roger Moos) (03/08/91)

I have read several posts which complain about attempting
to bring up OpenLook applications under X - primarily that
the default button font could not be found.

I have converted all the Lucida (default OpenLook font) and all
the fonts that have *butt* in their name.
After doing a mkfontdir and xset the following happens.

Xfontsel - displays the new fonts running under the MIT X server
however it cannot display the button font( probably ok)

xfd - will display the button fonts using the xfd in the 
/usr/openwin/bin area (also ran xfontsel from here too.)

So looks okay right - wrong!
Still get the same error when attempting to bring up any of the
sampler programs that come with OpenLook

the LD path is as follows:

sparc> echo $LD_LIBRARY_PATH
/usr/openwin/lib:/usr/lib:/lib:/usr/local/lib

The error is:
OPEN LOOK Toolkit Error in application "s_sampler":  Could not find default OPEN LOOK button font:
                Resolution: c     Point Size: 12

Anyone with any ideas ??

rm@sei.cmu.edu (Roger Moos) (03/09/91)

>From: rapatel@pilot.njin.net ( Rakesh Patel)

>I ran into the same thing... get the OLIT2 fonts from export.lcs.mit.edu
>in contrib. I think its OLIT2fonts.tar or something similar. Its in
>there.

>Rakesh Patel.

Thanks to Rakesk the problem has been solved - I can now run
the OpenLook sampler program (display a set of OpenLook widgets)
under MIT X.

This set of fonts contained something different that the ones
I copied out of openwin/lib/fonts and converted to .snf.

use the set of fonts in the tar file
then mkfontdir in the font directory
use xset +fp dirname to append the new font dir to the font path
then xset fp rehash to update the environment
then you are ready to run

Thanks again to Rakesk