Possible improvement to RTL and LTR positional algorithms.
Dotan Cohen
dotancohen at gmail.com
Wed May 30 17:42:19 IDT 2012
Currently, non-directional characters and blocks of non-directional
characters take their directionality from the surrounding directional
characters. If the surrounding directional characters are of differing
directionality, then the non-directional characters take the
directionality of the paragraph / page / containing element.
I suppose an improvement could be made in that if one neighbouring
character has directionality and the other is whitespace, then the
neutral character should get the neighbouring character's
directionality. This will help to put the punctuation on the correct
side of sentences when the containing element's directionality differs
from that of the text. It will also help in other instances, for
instance putting the leading / in the correct place when discussing
Unix paths in Hebrew documents.
What think the experts?
--
Dotan Cohen
http://gibberish.co.il
http://what-is-what.com
More information about the Linux-il
mailing list