[opensource-dev] Problem with displaying Arabic menu text in SL client

Dzonatas Sol dzonatas at gmail.com
Thu Oct 7 10:34:36 PDT 2010


Have you looked at Icesphere in order to render Arabic text? These 
mainly work in text chat, as the chat gets automatically translated and 
rendered properly.

Since the windows are detached in Icesphere, the menu text would be 
based upon your system settings.

Let me know if you have any more questions. 
http://icyspherical.blogspot.com/

Icesphere uses SNOW-375 as an interface, which probably is related to 
your idea of a different text engine. It's more of an API than a text 
engine.

izze euler wrote:
> Would it be possible to create images containing the arabic text and 
> displaying those instead of processing through Second Life's text engine?
>
> Izze
>
> ------------------------------------------------------------------------
> Date: Tue, 5 Oct 2010 09:30:58 -0700
> From: josh at lindenlab.com
> To: opensource-dev at lists.secondlife.com
> Subject: Re: [opensource-dev] Problem with displaying Arabic menu text 
> in SL client
>
>
> On Tue, Oct 5, 2010 at 4:32 AM, izze euler <izzee at hotmail.co.uk 
> <mailto:izzee at hotmail.co.uk>> wrote:
>
>     Are you able to give an example on how to use this character
>     within an XML file?
>
>
> Using that character won't have any effect. As Boroondas mentioned, 
> Second Life's text engine is pretty basic and simply doesn't support:
>
>     * Right-to-Left scripts - typically this functionality is called
>       "BiDi" since the  direction actually changes within text strings
>       for numbers, foreign words, etc.
>     * Contextual shaping (think: ligatures as a mandatory language
>       feature) 
>     * Combining characters/diacritics* (think: characters merge into
>       single glyphs)
>     * Complex word breaking (for languages that don't use spaces)
>
> This is a big task, and (as Boroondas also mentioned) is probably best 
> tackled by a thorough overhaul/replacement of SL's text rendering 
> engine as Alissa Sabre attempted.
>
> Additionally, if we're talking about a localized version of the UI and 
> not just rendering text content correctly, you'd also want to flip the 
> X coordinates for some (but not all) UI layout if the app was running 
> with a UI language that was RTL, which would require changes to the 
> XUI engine and some of the controls. (Since, ideally you don't have to 
> touch all of the control rects in all of the XUI files)
>
> -- Josh
>
> * I look forward to the day when someone writes a text engine that 
> handles the character combining logic for classical Mayan. 
>
> _______________________________________________ Policies and 
> (un)subscribe information available here: 
> http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the 
> policies before posting to keep unmoderated posting privileges
> ------------------------------------------------------------------------
>
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting privileges


-- 
--- https://twitter.com/Dzonatas_Sol ---
Web Development, Software Engineering, Virtual Reality, Consultant



More information about the opensource-dev mailing list