nanogui: fonts, fontmapper
Subject:
Re: [nanogui] fonts, fontmapper
From:
"Greg Haerr" ####@####.####
Date:
19 Jun 2006 02:58:37 +0100
Message-Id: <007e01c69343$ab0e97b0$6401a8c0@winXP>
::: if (pFont = (PMWCOREFONT) GdCreateFont(devID, fontNameSmall, 0,
Since you're using the win32 API for fonts (LOGFONT, etc)
you need to use the win32 CreateFont function, not GdCreateFont.
All the Gdxxx functions are reserved for internal engine functions
with which to implement the win32 or nano-X APIs.
::
: And I see that the NanoX fontmapper only supports the TTF, Adobe and
: built-in fonts types, isn't it?
Basically, the nano-X fontmapper is obsolete. Instead, the
filename of the TTF, Adobe, builtin, PCF or .fnt file should
be specified in the GrCreateFont call.
Regards,
Greg