nanogui: Displaying UTF-8


Previous by date: 10 May 2000 03:14:00 -0000 Re: W Window system?, Greg Haerr
Next by date: 10 May 2000 03:14:00 -0000 FLTK and Nano-X, Victor Veres
Previous in thread: 10 May 2000 03:14:00 -0000 Re: Displaying UTF-8, Murphy Chen
Next in thread: 10 May 2000 03:14:00 -0000 Re: Displaying UTF-8, ¹ùÇ¿

Subject: Re: Displaying UTF-8
From: "Greg Haerr" ####@####.####
Date: 10 May 2000 03:14:00 -0000
Message-Id: <059601bfba2d$c37e6b40$15320cd0@gregh>

: On Mon, May 08, 2000 at 10:04:34AM -0600, Greg Haerr wrote:
: > GrText() takes a third argument which is the text encoding,
: > use GR_TFUTF8 for UTF-8 encoded text.  Use a FreeType/
: > TrueType font that is unicode encoded, and you're set.
:
: Hmm.. Thanks.  Does your mentioning TrueType fonts only mean that BDF fonts
(if
: I remember correctly, these are supported) cannot be used for such a text?


I can't remember if I answered you yet or not.  Currently, the Microwindows
builtin fonts use a byte-sized index, making BDF fonts unsuitable.  However,
this would be very easy to change.   The reason it hasn't yet is that the
index table per builtin font would be quite large, and we're trying to keep the
size
of the builtin fonts down...  Take a stab at adding it if you want the feature.

Regards,

Greg



Previous by date: 10 May 2000 03:14:00 -0000 Re: W Window system?, Greg Haerr
Next by date: 10 May 2000 03:14:00 -0000 FLTK and Nano-X, Victor Veres
Previous in thread: 10 May 2000 03:14:00 -0000 Re: Displaying UTF-8, Murphy Chen
Next in thread: 10 May 2000 03:14:00 -0000 Re: Displaying UTF-8, ¹ùÇ¿


Powered by ezmlm-browse 0.20.