Right-to-Left and Arabic Type
Level 4 · Choosing and shipping fonts
Type that runs from right to left. Mixing two directions on one line, how Arabic script joins its letters, Naskh and Nastaliq, and kashida.
Course contentsLesson 17 of 17
Level 1 · Letters and fonts
Level 2 · Kinds of type
Level 3 · Setting text
Level 4 · Choosing and shipping fonts
After this lesson you can
- Set a page to run right to left
- Handle a line that mixes directions
- Tell Naskh from Nastaliq
12 mincovers 6 glossary entries
Worth reading first: Font Licenses and Libraries
How right-to-left type works
Right-to-left text starts on the right and moves left. Arabic, Persian, Urdu and Hebrew are written this way, by hundreds of millions of people. The whole page flips. Text lines up on the right, a back arrow points right, and the first item in a menu sits on the right.
Bidirectional text is one line that runs both ways. A Persian sentence can hold an English name, a web address or a number, and those run left to right inside it. Computers follow a set of rules to order each piece. When the rules guess wrong, a full stop can jump to the wrong end.
Arabic script is the joined writing used for Arabic, Persian and Urdu. Arabic has 28 letters and Persian adds 4 more, for 32. Most letters join the one next to them. So each letter can have up to four shapes: alone, at the start, in the middle and at the end of a word.
Naskh is the clear, upright style of Arabic script. Its words sit on one flat baseline, and most printed books, news and screens use it. It reads well at small sizes, which is why most Arabic and Persian fonts for apps are based on it.
Nastaliq is a flowing style, loved for Persian and Urdu. Each word slopes down from right to left, so a word starts higher than it ends. It is beautiful and takes more space up and down. Setting it well in software is hard, so many apps fall back to Naskh.
Kashida is how Arabic script fills a line. Instead of stretching the spaces between words, the join between two letters is drawn longer. Used with care, it gives a justified line an even look. Used everywhere, it makes words look pulled out like taffy.
The common mistake is to flip a layout and stop there. Icons that mean direction must flip too, but a clock, a logo or a phone number must not. Test with real right-to-left text, including mixed lines, before you call a design done.
<html lang="he" dir="rtl">
<p>שם התוכנה הוא <bdi>Figma</bdi>.</p>
</html>Worked example
An app opens in Persian
A travel app added Persian. The team flipped the layout, but the back arrow still pointed left. Prices also showed with the number on the wrong side of the word.
They flipped every direction icon, wrapped prices in their own direction, and tested 30 real screens. The app read naturally from right to left.
The words for this lesson6
Check yourself
How does kashida help fill a line of Arabic script?
Finished this lesson?
Marking it complete also marks its 6 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.