dean blackketter wrote:
I wonder if it's possible for the string rendering code to look at the
character range and then simply change the order of the rendering of
the characters based on some rules:
look at a character
if (it's in the range of characters that should be rendered right to
left) {
scan forward until you find a non-space character that should be
rendered left to right
render the characters in revers order until you get back to the
first character
skip forward to after the last character rendered
}
Unicode specifies a pretty complex algorithm to get bidi working correctly.
Once again, allow me to suggest the FriBidi perl module:
http://imagic.weizmann.ac.il/~dov/freesw/FriBidi/
- Marc
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss