nanogui: PCF font support


Previous by date: 19 Aug 2008 13:00:51 -0000 Re: PCF font support, Evgeny Romanov
Next by date: 19 Aug 2008 13:00:51 -0000 Remote control Keys, Bajimohanreddy Bandi
Previous in thread: 19 Aug 2008 13:00:51 -0000 Re: PCF font support, Evgeny Romanov
Next in thread: 19 Aug 2008 13:00:51 -0000 Re: PCF font support, Greg Haerr

Subject: Re: [nanogui] PCF font support
From: Evgeny Romanov ####@####.####
Date: 19 Aug 2008 13:00:51 -0000
Message-Id: <48AAC466.6070402@neurosoft.ru>

Hi,

I've found function to change "mwTextCoding". I's "void 
MwSetTextCoding(long mode);". To use it, nesessary
 #include "wintern.h"

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.

Greg Haerr пишет:
>> 1. Variable "long mwTextCoding" appeared in file "wingdi.c".  It's
>> default  value  MWTF_UTF8,  so  ASCII -coding  PCF fonts does not  work
>> correctly.
>>    I can't found a way, how I change mwTextCoding value from my program.
>> For my porpose, I've change its' default value to MWTF_ASCII.
>>     
>
> Unfortunately, win32 api doesn't have any mechanism to change
> the default encoding, including specification in a seperate
> parameter.  We probably need an MwSetTextEncoding or
> something to specify the default text encoding for standard
> win32 api calls.  You can use the internal MwTextOutExt
> which allows a parameter for text encoding, but its not standard.
>
>   
> Regards,
>
> Greg
>
>   

-- 
Sincerely yours,
Evgeny




Previous by date: 19 Aug 2008 13:00:51 -0000 Re: PCF font support, Evgeny Romanov
Next by date: 19 Aug 2008 13:00:51 -0000 Remote control Keys, Bajimohanreddy Bandi
Previous in thread: 19 Aug 2008 13:00:51 -0000 Re: PCF font support, Evgeny Romanov
Next in thread: 19 Aug 2008 13:00:51 -0000 Re: PCF font support, Greg Haerr


Powered by ezmlm-browse 0.20.