nanogui: PCF font support


Previous by date: 20 Aug 2008 02:53:49 -0000 Remote control Keys, Bajimohanreddy Bandi
Next by date: 20 Aug 2008 02:53:49 -0000 Re: how to compile and link win32 api in linux, Greg Haerr
Previous in thread: 20 Aug 2008 02:53:49 -0000 Re: PCF font support, Evgeny Romanov
Next in thread: 20 Aug 2008 02:53:49 -0000 Re: PCF font support, Evgeny Romanov

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

Previous by date: 20 Aug 2008 02:53:49 -0000 Remote control Keys, Bajimohanreddy Bandi
Next by date: 20 Aug 2008 02:53:49 -0000 Re: how to compile and link win32 api in linux, Greg Haerr
Previous in thread: 20 Aug 2008 02:53:49 -0000 Re: PCF font support, Evgeny Romanov
Next in thread: 20 Aug 2008 02:53:49 -0000 Re: PCF font support, Evgeny Romanov


Powered by ezmlm-browse 0.20.