Re: UTF-8 in OGRE : DONE

Leon Bottou <[email protected]> Wed, 22 Feb 2006 23:18:39 -0500
Newsgroups gmane.lisp.lush.devel
Message-ID <[email protected]>
On Wednesday 22 February 2006 04:10 pm, Raymond Martin wrote:
> Hi,
> > In addition to having UTF-8 in Lush running via a console it is needed in OGRE.
> Another relevant file to include from X is Xft.h, it is in /usr/X11R6/include/X11/Xft 
> on my system. This might be included already, not sure.

I just did it!

You need iconv, freetype2 and xft>=2.
These are available on recent linux systems.
Configure detects everything.
You also get antialiased fonts.

Also two new functions in string.c

 (locale-to-utf8 "string")
 (utf8-to-locale "string")

Not yet documented.

Regression:
I simplified the management of palettes on 8 bit displays.
Now it always uses a 6*6*6 colorcube.
Who uses 8 bit displays anymore?

- L.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642