{"course":{"slug":"design-foundations","title":"Design, before Any Software","url":"https://addaly.com/learn/design-foundations","level":"beginner","track":"create"},"lesson":{"slug":"type-in-indic-and-other-scripts","title":"What breaks when the text is not in English","url":"https://addaly.com/learn/design-foundations/type-in-indic-and-other-scripts","position":33,"of":74,"minutes":10,"answer":"Test real text in each script at its intended size and width. Check shaping, fallback, emphasis and line breaks, and have a reader of the script review the proof.","keyIdea":"Test real text in each script at its intended size and width. Check shaping, fallback, emphasis and line breaks, and have a reader of the script review the proof."},"body":{"format":"markdown","text":"## Test settings in each script\n\nEarlier examples used Latin settings for line length, line height, emphasis and spacing. Use them as starting points for those examples. Mixed-script text needs a fresh check of the font, shaping, line breaks and emphasis at the intended size.\n\nThis matters here because a large share of this course's readers work in Hindi, Marathi, Bengali, Tamil, Telugu, Urdu or Punjabi, often alongside English on the same page.\n\n## Devanagari\n\nUsed for Hindi, Marathi, Nepali, Sanskrit and others. Three structural facts change your settings:\n\n**The shirorekha.** Many Devanagari forms share a headline. Use normal letter spacing as a starting point for running Hindi. Compare how the selected font and layout handle spacing between typographic units and preserve each shaped unit.\n\n**Matras above and below.** Vowel signs and some conjunct forms can extend beyond the main letter shapes. Leave enough room for the text in the actual font and container. A line-height trial such as 1.6 to 1.8 can be useful for a specific Hindi layout. If marks are clipped, inspect the clipping box or fixed height as well as the line spacing. [W3C Devanagari layout requirements](https://www.w3.org/TR/2024/DNOTE-deva-lreq-20240709/).\n\n**Apparent size.** Devanagari and Latin can look different at the same declared size. Compare real mixed-script lines in the chosen fonts. A language-specific style can help, but check baselines, marks, breaks and the target container after adjusting.\n\nStart with tested Devanagari candidates such as Noto Sans Devanagari, Noto Serif Devanagari or Mukta. Check the actual font version, glyphs and licence you will use. [Mukta project](https://github.com/EkType/Mukta).\n\n## Arabic and Urdu\n\nSet base direction with HTML `dir=\"rtl\"` where right-to-left reading applies, and use logical CSS properties such as `margin-inline-start`. Mirror controls whose direction carries the action's meaning. Review icons, logos and images separately. [W3C Arabic and Persian layout](https://www.w3.org/TR/alreq/).\n\nArabic letters can join and take different shapes in different positions. Preserve cursive joining when choosing a spacing treatment. Check the full words and the actual shaping of the font in the renderer.\n\nNastaliq is an important Urdu setting style. Sloping word forms can require additional vertical room in a particular font and layout. Compare real Urdu at the intended size and check for overlaps or clipping. [W3C Urdu layout requirements](https://w3c.github.io/alreq/arab-ur/).\n\nDigit runs and surrounding right-to-left text can have different directions. Use appropriate language and direction metadata, and isolate a mixed fragment where needed. Check the visible order of a real phone number, amount, or reference rather than assuming a hard-coded direction will work.\n\n## Other Indic scripts\n\nTamil, Telugu, Kannada, Malayalam, Bengali, Gujarati, Odia and Gurmukhi have different forms and shaping requirements. The required vertical space depends on the script, font, text and container. Test the real words, combining marks and line breaks for each setting.\n\nThe Noto collections offer candidates for these scripts. Verify the exact font build and coverage before relying on it. A missing-glyph box is one sign to investigate, and real text can reveal spacing or shaping issues even when every character appears.\n\n## CJK\n\nChinese and Japanese text often uses line-break opportunities without spaces between every word. Korean normally uses spaces between words and has its own line-breaking conventions. Punctuation and emphasis also depend on the language and publication. Use the appropriate layout rules and compare real text. [W3C Korean layout requirements](https://www.w3.org/TR/kore-lreq/).\n\n## The font stack, and what actually happens\n\nCSS font matching considers character coverage and shaped clusters. It can look for a font able to render a base and its combining marks together. [W3C CSS font cluster matching](https://www.w3.org/TR/css-fonts-4/#cluster-matching).\n\n```css\nbody {\n  font-family:\n    'Inter', 'Noto Sans Devanagari',\n    system-ui, sans-serif;\n}\n```\n\nIn this example the Latin forms can come from Inter and the Hindi forms from Noto Sans Devanagari when the browser has the fonts available and their coverage fits the text. Inspect actual loaded fonts and compare baselines, weight and perceived size in the same sentence.\n\nMark the content language with HTML `lang`, for example `lang=\"hi\"` for a Hindi paragraph on an English page. Language information can help with font forms, hyphenation and speech. Check the actual browser and assistive output for the language you support.\n\n## The position\n\nStart from representative content and test the exact font, renderer and space available. Browser, app and print settings can differ. Plan a separate proof for the target output.\n\nAsk a reader who knows the script to inspect actual words in the real layout and at the real size. Give them a task, such as checking a name or finding a deadline. Review both the translated wording and the rendered forms before publishing."},"check":{"question":"A Hindi label gains uneven gaps after a global tracking rule, and marks are cut off at the edge of its fixed-height box. Which checks address both problems?","options":[{"text":"Increase letter spacing and make the fixed-height box shallower.","correct":false,"tempting":"This keeps the spacing problem and leaves less room for the marks."},{"text":"Try normal spacing for the Hindi text and review the clipping box and line height in the actual layout.","correct":true},{"text":"Increase the font size while keeping the box and spacing exactly as they are.","correct":false,"tempting":"Larger forms can worsen clipping in the same box."},{"text":"Switch to a lighter weight and keep the same clipping and spacing settings.","correct":false,"tempting":"Weight may alter texture. It leaves both suspected causes untested."}]},"prev":{"slug":"typographic-colour","title":"The grey of a paragraph","url":"https://addaly.com/learn/design-foundations/typographic-colour"},"next":{"slug":"make-it-pop","title":"Make it pop is a symptom report","url":"https://addaly.com/learn/design-foundations/make-it-pop"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'What breaks when the text is not in English', in Design, before Any Software. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/design-foundations/type-in-indic-and-other-scripts (Accessed: 29 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"What breaks when the text is not in English","courseTitle":"Design, before Any Software","module":{"index":3,"slug":"type-mechanically","title":"Type, mechanically"},"answer":null,"keyIdea":"Test real text in each script at its intended size and width. Check shaping, fallback, emphasis and line breaks, and have a reader of the script review the proof.","hero":{"kind":"plate","image":null,"alt":null,"caption":null},"blocks":[{"t":"h2","id":"test-settings-in-each-script","runs":[{"text":"Test settings in each script"}]},{"t":"p","runs":[{"text":"Earlier examples used Latin settings for line length, line height, emphasis and spacing. Use them as starting points for those examples. Mixed-script text needs a fresh check of the font, shaping, line breaks and emphasis at the intended size."}]},{"t":"p","runs":[{"text":"This matters here because a large share of this course’s readers work in Hindi, Marathi, Bengali, Tamil, Telugu, Urdu or Punjabi, often alongside English on the same page."}]},{"t":"h2","id":"devanagari","runs":[{"text":"Devanagari"}]},{"t":"p","runs":[{"text":"Used for Hindi, Marathi, Nepali, Sanskrit and others. Three structural facts change your settings:"}]},{"t":"p","runs":[{"text":"The shirorekha.","b":true},{"text":" Many Devanagari forms share a headline. Use normal letter spacing as a starting point for running Hindi. Compare how the selected font and layout handle spacing between typographic units and preserve each shaped unit."}]},{"t":"p","runs":[{"text":"Matras above and below.","b":true},{"text":" Vowel signs and some conjunct forms can extend beyond the main letter shapes. Leave enough room for the text in the actual font and container. A line-height trial such as 1.6 to 1.8 can be useful for a specific Hindi layout. If marks are clipped, inspect the clipping box or fixed height as well as the line spacing. "},{"text":"W3C Devanagari layout requirements","href":"https://www.w3.org/TR/2024/DNOTE-deva-lreq-20240709/"},{"text":"."}]},{"t":"p","runs":[{"text":"Apparent size.","b":true},{"text":" Devanagari and Latin can look different at the same declared size. Compare real mixed-script lines in the chosen fonts. A language-specific style can help, but check baselines, marks, breaks and the target container after adjusting."}]},{"t":"p","runs":[{"text":"Start with tested Devanagari candidates such as Noto Sans Devanagari, Noto Serif Devanagari or Mukta. Check the actual font version, glyphs and licence you will use. "},{"text":"Mukta project","href":"https://github.com/EkType/Mukta"},{"text":"."}]},{"t":"h2","id":"arabic-and-urdu","runs":[{"text":"Arabic and Urdu"}]},{"t":"p","runs":[{"text":"Set base direction with HTML "},{"text":"dir=\"rtl\"","code":true},{"text":" where right-to-left reading applies, and use logical CSS properties such as "},{"text":"margin-inline-start","code":true},{"text":". Mirror controls whose direction carries the action’s meaning. Review icons, logos and images separately. "},{"text":"W3C Arabic and Persian layout","href":"https://www.w3.org/TR/alreq/"},{"text":"."}]},{"t":"p","runs":[{"text":"Arabic letters can join and take different shapes in different positions. Preserve cursive joining when choosing a spacing treatment. Check the full words and the actual shaping of the font in the renderer."}]},{"t":"p","runs":[{"text":"Nastaliq is an important Urdu setting style. Sloping word forms can require additional vertical room in a particular font and layout. Compare real Urdu at the intended size and check for overlaps or clipping. "},{"text":"W3C Urdu layout requirements","href":"https://w3c.github.io/alreq/arab-ur/"},{"text":"."}]},{"t":"p","runs":[{"text":"Digit runs and surrounding right-to-left text can have different directions. Use appropriate language and direction metadata, and isolate a mixed fragment where needed. Check the visible order of a real phone number, amount, or reference rather than assuming a hard-coded direction will work."}]},{"t":"h2","id":"other-indic-scripts","runs":[{"text":"Other Indic scripts"}]},{"t":"p","runs":[{"text":"Tamil, Telugu, Kannada, Malayalam, Bengali, Gujarati, Odia and Gurmukhi have different forms and shaping requirements. The required vertical space depends on the script, font, text and container. Test the real words, combining marks and line breaks for each setting."}]},{"t":"p","runs":[{"text":"The Noto collections offer candidates for these scripts. Verify the exact font build and coverage before relying on it. A missing-glyph box is one sign to investigate, and real text can reveal spacing or shaping issues even when every character appears."}]},{"t":"h2","id":"cjk","runs":[{"text":"CJK"}]},{"t":"p","runs":[{"text":"Chinese and Japanese text often uses line-break opportunities without spaces between every word. Korean normally uses spaces between words and has its own line-breaking conventions. Punctuation and emphasis also depend on the language and publication. Use the appropriate layout rules and compare real text. "},{"text":"W3C Korean layout requirements","href":"https://www.w3.org/TR/kore-lreq/"},{"text":"."}]},{"t":"h2","id":"the-font-stack-and-what-actually-happens","runs":[{"text":"The font stack, and what actually happens"}]},{"t":"p","runs":[{"text":"CSS font matching considers character coverage and shaped clusters. It can look for a font able to render a base and its combining marks together. "},{"text":"W3C CSS font cluster matching","href":"https://www.w3.org/TR/css-fonts-4/#cluster-matching"},{"text":"."}]},{"t":"code","lang":"css","label":"CSS","text":"body {\n  font-family:\n    'Inter', 'Noto Sans Devanagari',\n    system-ui, sans-serif;\n}"},{"t":"p","runs":[{"text":"In this example the Latin forms can come from Inter and the Hindi forms from Noto Sans Devanagari when the browser has the fonts available and their coverage fits the text. Inspect actual loaded fonts and compare baselines, weight and perceived size in the same sentence."}]},{"t":"p","runs":[{"text":"Mark the content language with HTML "},{"text":"lang","code":true},{"text":", for example "},{"text":"lang=\"hi\"","code":true},{"text":" for a Hindi paragraph on an English page. Language information can help with font forms, hyphenation and speech. Check the actual browser and assistive output for the language you support."}]},{"t":"h2","id":"the-position","runs":[{"text":"The position"}]},{"t":"p","runs":[{"text":"Start from representative content and test the exact font, renderer and space available. Browser, app and print settings can differ. Plan a separate proof for the target output."}]},{"t":"p","runs":[{"text":"Ask a reader who knows the script to inspect actual words in the real layout and at the real size. Give them a task, such as checking a name or finding a deadline. Review both the translated wording and the rendered forms before publishing."}]}],"check":{"question":[{"text":"A Hindi label gains uneven gaps after a global tracking rule, and marks are cut off at the edge of its fixed-height box. Which checks address both problems?"}],"options":[{"text":[{"text":"Increase letter spacing and make the fixed-height box shallower."}],"correct":false,"tempting":[{"text":"This keeps the spacing problem and leaves less room for the marks."}]},{"text":[{"text":"Try normal spacing for the Hindi text and review the clipping box and line height in the actual layout."}],"correct":true,"tempting":null},{"text":[{"text":"Increase the font size while keeping the box and spacing exactly as they are."}],"correct":false,"tempting":[{"text":"Larger forms can worsen clipping in the same box."}]},{"text":[{"text":"Switch to a lighter weight and keep the same clipping and spacing settings."}],"correct":false,"tempting":[{"text":"Weight may alter texture. It leaves both suspected causes untested."}]}],"order":[2,1,0,3],"why":null},"prev":{"slug":"typographic-colour","title":"The grey of a paragraph","minutes":8},"next":{"slug":"make-it-pop","title":"Make it pop is a symptom report","minutes":9}}}