font path ?

Grant McDorman grant "at" isgtec.com
Wed, 16 Dec 1998 15:25:22 +0000


--VS++wcV0S1rZb1Fb
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

According to Heiner Amthauer:
> Hi there !
>=20
> "xset q" says font path is /usr/openwin/lib/fonts. However, when=20
> using this path in vncserver ( $cmd .=3D " -fp /usr/openwin/lib/fonts/";=
=20
> ), the logfile says "failed to set font path ...". I also tried=20
> /share/openwin/lib/fonts, because /usr/openwin is a link to=20
> /share/openwin. Didn't work, either.=20
>
> How come ?

Actually, your font path won't be /usr/openwin/lib/fonts; there are several
subdirectories there. On my system (Solaris 2.5), the full path is

/usr/openwin/lib/X11/fonts/F3/,/usr/openwin/lib/X11/fonts/F3bitmaps/,/usr/o=
penwin/lib/X11/fonts/Type1/,/usr/openwin/lib/X11/fonts/Speedo/,/usr/openwin=
/lib/X11/fonts/misc/,/usr/openwin/lib/X11/fonts/75dpi/,/usr/openwin/lib/X11=
/fonts/100dpi/,/usr/openwin/lib/X11/fonts/Xt+/

However, a number of these directories will only work with the Openwindows
server. The ones that will work are:
    /usr/openwin/lib/X11/fonts/Type1/
    /usr/openwin/lib/X11/fonts/Speedo/
    /usr/openwin/lib/X11/fonts/misc/
    /usr/openwin/lib/X11/fonts/75dpi/
    /usr/openwin/lib/X11/fonts/100dpi/
    /usr/openwin/lib/X11/fonts/Xt+/
The ones that won't are:
    /usr/openwin/lib/X11/fonts/F3/
    /usr/openwin/lib/X11/fonts/F3bitmaps/
(These are Folio fonts, which the standard X server does not support.)

Under other versions of OpenWindows, the paths will be different, and there
will be a different set of directories. However, the core directories -
misc, 75dpi, 100dpi - will always be there and will always be compatible.
The Type1 and Speedo are scalable fonts that X11R5 and later support
(including the VNC X server), and may not exist in older versions of
OpenWindows.

> Setting the path from xset q did work on Linux and HPUX, fine.

Those systems don't have Display Postscript, and don't have the extra,
non-compatible fonts.

--=20

Grant McDorman <grant "at" isgtec.com>, Senior Software Developer
ISG Technologies, Inc.  <URL:http://www.isgtec.com>
Mississauga, Ontario, Canada


--VS++wcV0S1rZb1Fb
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQBVAwUBNnfMeEDmya2cFZ8ZAQGwqAIAzTOkfTGiHL2VsSAZpqaDXZImPkup8orQ
uHe4Zl1O72vjbWN5HTxVd4Z+s9YP5voYwg0yB6RYQ2IG75l25INXNw==
=Y/3E
-----END PGP SIGNATURE-----

--VS++wcV0S1rZb1Fb--

---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
---------------------------------------------------------------------