nanogui: Selecting fonts
Subject:
Re: [nanogui] Selecting fonts
From:
"Greg Haerr" ####@####.####
Date:
5 May 2004 18:40:38 +0100
Message-Id: <03c601c432c9$386a4380$b600a8c0@censoft.com>
: How do you select one of those in a nano-X app? Like, say,
: winFreeSystem14x16?
Look at drivers/genfont.c, the table shows the fonts included,
and their string name that is used to look them up using
GrCreateFont. Also, as Jonathan suggested, you can give
a full path to a .fnt, .pcf, or .pcf.gz bitmap font file, and
Microwindows will use that font.
Regards,
Greg