I One paragraph, two settings
Set your own text
Grey: the space between two words. Red: the space is part of a river, a channel of white running three lines or more. In the Naskh setting, red strokes are kashidas; in Nastaliq, red letters have taken their long form; in the Latin one, a red word has been widened on the font's width axis.
II The ghazal, set as a manuscript sets it
In a copied ghazal each half-line fills a box of the same width, and the scribe gets it there by drawing out joins. This is Mah Laqa Bai Chanda's Na gul, with Sama's translation, set that way: every red stroke is a kashida, placed by rank.
III What the numbers say
IV Which join is stretched
The W3C's Arabic layout requirements (§7.2.5) ask for preferred joins, no more than one kashida in a word, none stacked above another, and restraint. They give no ranking. The ranking typesetters use is older; LibreOffice keeps it, citing khtt.net. Type a word to see its joins ranked.
- 1 after a tatweel the writer typed
- 2 after Seen or Sad
- 3 before a final Teh Marbuta, Heh or Dal
- 4 before a final Alef, Tah, Lam, Kaf or Gaf
- 5 before a medial Beh that comes before Reh or Yeh
- 6 before a final Waw, Ain, Qaf or Feh
- 7 before the final form of any other letter