nanogui: newbie questions: support for unicode
Subject:
Re: [nanogui] newbie questions: support for unicode
From:
"Greg Haerr" ####@####.####
Date:
23 May 2005 21:11:47 +0100
Message-Id: <050301c55fcd$bbb31fa0$0300a8c0@RDP>
: I'm very new to microwindows/nano X and I'd like to know about the current
: state of unicode support in microwindows. Does it support utf8 ?
Yep
: Other formats ?
UC16, UC32, four DBCS variants, see include/mwtypes.h::MWTEXT_xxx
defines.
: Does the format of the used fonts (truetype, type 1) matter ?
Yes, there is an entry in the font structure that indicates what the
input decoding is (usually filled in by the API level), and what
the font subsystem wants (usually filled in by the font subsystem
writer, can be changed).
Generally, I've tried to allow the broadest combination (anything
in, unicode out); check engine/font*.c for details.
: Is it
: supported on microwindows API level ?
Partly, I didn't implement all the *W functions, so you might
wrapper a *A function or simply change the MWTEXT_xxx
flag in the {Ext}TextOut function if it isn't what you're passing.
: nano X API level ?
yes, user programmers pass the flag in, so anything is allowed.
: "engine" API level (i.e. the low level functions) ?
Yep
Regards,
Greg