|
|
|
|
|
by baxter001
3906 days ago
|
|
Are there more basic string operations that need to be available for Arabic, a quick play with copy and paste produces all sorts of unusual effects I assume because of combining marks not being copied or being suitable in their new contexts. I'd assume that the text is modified in units more complex than substrings and whitespace splitting? |
|
Correct. Each letter in Arabic can have up to four shapes depending on its position in a word: initial, medial, final and isolated[0].
Also note that the sample text on the left contains Arabic diacritics[1]. These are usually omitted by native speakers/writers since they can be inferred from the context (the only exception I can think of is religious scripture), but they certainly add to the complexity of it all.
Needless to say, creating an Arabic mono-font is quite challenging. Kudos to the designer.
[0] https://en.wikipedia.org/wiki/Arabic_alphabet#Letter_forms
[1] https://en.wikipedia.org/wiki/Arabic_diacritics