> 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]