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




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to