nanogui: fonts HowTo for microwindows?
Subject:
Re: [nanogui] fonts HowTo for microwindows?
From:
"Greg Haerr" ####@####.####
Date:
22 Jul 2004 16:00:42 +0100
Message-Id: <080f01c46ffc$951157c0$3aba46a6@xmission.com>
: And apparently microwindows and nxlib (via FLTK) uses different fonts
: (directories). Is that correct?
The font directory for Microwindows is specified in the Microwindows
config file. Additional directories (such as /usr/lib/X11/fonts, for example,
are specified in NXLIB's Makefile. This is needed to allow searching
for fonts outside of Microwindows' installation directory.
:
: I am only interessted in supporting a few fonts from FLTK.
I haven't checked exactly which fonts FLTK wants, but when I pointed
the NXLIB Makefile at the standard X11 fonts/100dpi directory, things
seemed to work well. Microwindows can print the font's its using
when running your application by turning on the DPRINTF in
src/include/device.h, or fiddling in engine/devfont.c.
Regards,
Greg