nanogui: New Microwindows font support


Previous by date: 21 Mar 2000 14:05:35 -0000 Re: Scalable font support ..., Greg Haerr
Next by date: 21 Mar 2000 14:05:35 -0000 Re: Kaffe port to Microwindows, Greg Haerr
Previous in thread: 21 Mar 2000 14:05:35 -0000 Re: New Microwindows font support, Jean-Eric Cuendet
Next in thread: 21 Mar 2000 14:05:35 -0000 Re: New Microwindows font support, Morten Rolland

Subject: Re: New Microwindows font support
From: "Greg Haerr" ####@####.####
Date: 21 Mar 2000 14:05:35 -0000
Message-Id: <008d01bf933c$ecba0cc0$15320cd0@gregh>

: Does that means that UNICODE is supported in MWin?

Yep.  For Nano-X, the GrText entry point has had another
parameter added, which is the text string data type.  The following
are legal values:

TF_ASCII    8 bit ascii
TF_UC16    16 bit unicode
TF_UC32    32 bit unicode
TF_UTF8    UTF8

The Microwindows engine translates from the input format to the 
format requested by the font renderer.  Currently, we have 3 font
renderers, and their requested data format:

CoreFonts (compiled in fonts) - currently TF_ASCII
FreeType (truetype fonts) - TF_UC16
T1lib (Adobe type 1) - TF_ASCII (I'd like to see this change to TF_UC16)

Microwindows doesn't yet have unicode<->codepage tables loaded,
but these should be fairly easy to add if not using a unicode font renderer.

For the Microwindows api, I'll soon be adding DrawTextW and ExtTextOutW,
which take 16-bit unicode.

Regards,

Greg



Previous by date: 21 Mar 2000 14:05:35 -0000 Re: Scalable font support ..., Greg Haerr
Next by date: 21 Mar 2000 14:05:35 -0000 Re: Kaffe port to Microwindows, Greg Haerr
Previous in thread: 21 Mar 2000 14:05:35 -0000 Re: New Microwindows font support, Jean-Eric Cuendet
Next in thread: 21 Mar 2000 14:05:35 -0000 Re: New Microwindows font support, Morten Rolland


Powered by ezmlm-browse 0.20.