nanogui: PCF font support
Subject:
Re: [nanogui] PCF font support
From:
"Greg Haerr" ####@####.####
Date:
20 Aug 2008 02:53:49 -0000
Message-Id: <057001c9026f$c504eeb0$6501a8c0@gregnewport>
> Probably, it's better to store charset in "PFONT
pfont->fontprocs->encoding" in "GdCreateFont()" function and copy it to
"mwTextCoding" in "SelectObject()"?
I have not find, where "PFONT pfont->fontprocs->encoding" is set.
No, fontprocs->encoding is used to specify the static
constant font encoding, which does not change. It is
the encoding the font uses internally. MwSetTextEncoding
is an internal api that sets the USER, not font encoding
passed in the associated text string.
Regards,
Greg