nanogui: microwindows fonts
Subject:
Re: Microwindows Fonts
From:
"Greg Haerr" ####@####.####
Date:
15 Jun 2004 19:54:22 +0100
Message-Id: <014a01c45309$a75149f0$0300a8c0@RDP>
> . To do it I thought that I could only change the font name (the last
parameter of createfont) by an other one (ex : HKZFONT to Helvetica). The
result is ok. But when I would like to change Espacement, nHeight,..... of
this new font in createfont no change occurs. So I thought that it was in
the BDF file
The height parameter is used to select on of a number
of built-in fonts. Otherwise, you specify a full-path to
a loadable font, and the height is ignored, unless the font
is a truetype font (NOT BDF). BDF are fixed-size fonts,
and height is ignored except when selecting builtin fonts.
You can use convbdf to convert a bdf font to .pcf or .fnt
and then just load it using the absolute path.
Regards,
Greg