Bidirectional Text Layout
By far the most important thing the scripts of the Middle East have in common (at least from the point of view of computer programmers trying to figure out how to draw them on a computer screen and represent them in memory) is that they're written from right to left rather than from left to right. By itself, this arrangement isn't difficult to do on a computer, but if you mix text written using one of these alphabets with text written using one of the alphabets described in Chapter 7, figuring out how to position all the letters correctly relative to each other can become a rather complicated affair. Because you can end up with a line of text with individual snippets of text on the line running in two different directions, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access