nanogui: Unicode16 fonts support
Subject:
Re: Unicode16 fonts support
From:
"Greg Haerr" ####@####.####
Date:
9 May 2001 18:11:01 -0000
Message-Id: <07be01c0d8a5$e3801780$3aba46a6@xmission.com>
: 1. Is there any readymade apis available to find the string length ( for U16
: type )?
No, it should be pretty simple to code up a wstrlen(), though.
:
: 2. For GrText, we need to specify incoming string encoding type. How to find
: dynamicaly the encoding type?.
That's pretty hard, since we support UTF-8 as well as chinese GB2312 and
Big5. The original idea was that the application would use a standard
encoding type, and always pass the same GR_TFxxx value to GrText.
Then Microwindows would be compile-time configured to support that
decoding.
Regards,
Greg