Arabic Script Requirements in Desktop Software
(UNDER CONSTRUCTION)
Arabic Specification provides the information needed to support Arabic script in Desktop Applications such as Web Browsers, Desktop Publishing and Graphic Applications.
Text alignment is not the only problem of BiDirectional scripts (as many users/developers think so). Alignment is just the first step for supporting bidi scripts. The are many problems in shaping/joining, elongation, hyphenation, justification, etc too.
Arabic is a BiDirectional Script
Arabic characters need Shaping/Joining
Arabic Words and Lines need Elongation
Application needed to support elongation for Arabic words and lines.
Line Elongation
Elongating lines of a paragraph to make all lines same width is named Justification.
In Latin script, line elongation applied with inter-letter and inter-word spacing. In Arabic we have inter-word spacing, but there's no inter-letter spacing.
Word Elongation
There is no distinct way for word elongation in Arabic script, but typists usually do that with inserting Kashida (= U+0640 ARABIC TATWEEL) between joined letters. Some graphists use Latin's letter-spacing in graphic applications, but it can make joined letters disjoined; It's a misfeature and should not be used at all.
Comparison
Here are current situation of Arabic Elongation in some Software/Standards:
|
Inter-word Elongation |
Auto Trade-off |
Word Elongation |
|
CSS2 |
(Manual) |
word-space |
|
letter-space |
(Justification) |
text-align |
|
NONE |
|
CSS3 |
(Manual) |
word-space |
|
NONE |
(Justification) |
text-justify=inter-word |
text-kashida-space=%nn |
text-justify=kashida |
|
MS Word |
(Manual) |
??? |
|
NONE |
(Justification) |
|
Arabic Paragraphs need Hyphenation and Justification
Resources
References
WWW Consortium:
CSS2 - Text - Alignment (text-align)
CSS3 - Text Module - Text alignment (text-align)
CSS3 - Text Module - Justification (text-justify)
CSS3 - Text Module - Kashida effect (text-kashida-space)
Mozilla:
...
Microsoft:
...
OpenOffice.org:
...
Mailinglist
Discussion of this specification should occur on bidi at lists freedesktop org. The archives are here.
-- BehnamEsfahbod - 27 Mar 2005


