Re: UTF-8 in OGRE
Raymond Martin <[email protected]> Fri, 24 Feb 2006 20:27:16 +0000
| Newsgroups | gmane.lisp.lush.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Leon, On Friday 24 February 2006 15:02, Leon Bottou wrote: > [snip] > > Could I have missed something? There's nothing new that > > needs to be done in the end user code for an ogre window, is there? > > That is done already! > Once you have compiled, you can type (x11-fontname "times-18") > If the answer is something like ":family=times:pixelsize=18" you are done. > Otherwise you get something like "-adobe-times-...-*-*-iso8859-1" and no. > > To print japanese you need to select the proper font anyway. > With the latest CVS you can simply type (font ":lang=ja:pixelsize=16") > and it should find one if you have one installed. > Alright! I can use multiple languages now in a text pane (i.e. English, French, and Japanese). I have noticed a problem, the cursor is not aligned with the character. It seems to be set to the byte offset of a character in the string and not the printed character location in the visible text. Another issue I am having is not being able to set the font for the window title as displayed by the window manager. I tried a few different places (AutoWindowObject, WindowObject, ogre), but I don't think I am doing it correctly or something. I can't even get French to display, this was the case recently in the text pane until you made a fix. I imagine this is related somehow. Thanks for all the fixes you made so far. Lush is definitely starting to progress towards having internationalization support. Raymond __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- 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