{"course":{"slug":"video-editing","title":"Editing Video","url":"https://addaly.com/learn/video-editing","level":"beginner","track":"create"},"lesson":{"slug":"subtitles-in-indian-languages","title":"When your editor cannot render the script","url":"https://addaly.com/learn/video-editing/subtitles-in-indian-languages","position":55,"of":77,"minutes":9,"answer":"Indic and Arabic scripts need a shaping engine to reorder and combine glyphs, and many video editors do not have one, so test with a conjunct and a reordering vowel.","keyIdea":"Indic and Arabic scripts need a shaping engine to reorder and combine glyphs, and many video editors do not have one, so test with a conjunct and a reordering vowel, and use libass through FFmpeg or a sidecar file rather than the title tool."},"body":{"format":"markdown","text":"## The problem nobody warns you about\n\nYou type a Hindi or Tamil or Bengali caption into your video editor's title tool and it comes out wrong. Not a missing-font box. Worse than that. The letters are present and in the wrong shape: conjuncts broken apart, vowel marks sitting after the consonant instead of before it, the matra detached and floating.\n\nThis is not a font problem and installing a different font usually does not fix it. It is a **text shaping** problem, and it affects a very large share of this readership.\n\n## What text shaping is\n\nIn Latin script, rendering text is roughly a matter of drawing one glyph per character, left to right. Complex scripts do not work that way.\n\nIn Devanagari, Bengali, Tamil, Telugu, Kannada, Malayalam, Gurmukhi, Odia, Sinhala (and in Arabic, Thai and others) the shape a character takes depends on its neighbours, and characters reorder visually. The vowel sign *i* is typed after its consonant and drawn before it. Two consonants combine into a single conjunct glyph. A consonant takes a different form when it carries a vowel sign.\n\nDoing this correctly requires a **shaping engine** (HarfBuzz is the standard free one) which reads the font's OpenType tables and applies its substitution and positioning rules.\n\nSome video software does not use one, or uses an old or partial implementation. In that case the characters are drawn in typed order with no substitution, which produces exactly the breakage described.\n\n## Testing whether your tool shapes correctly\n\nA quick test string per script. Type it, and compare against the same string rendered in your web browser, which does shape correctly.\n\n- **Devanagari**: `क्षत्रिय`: two conjuncts. If you see the halant (the small stroke) visible between letters rather than the letters joined, shaping failed.\n- **Devanagari vowel reorder**: `कि`: the *i* sign must appear to the **left** of the क. If it is on the right, the engine is not reordering.\n- **Tamil**: `ஸ்ரீ`\n- **Bengali**: `ক্ষ`\n- **Arabic**: `مرحبا`: letters must join. Isolated forms mean no shaping.\n\nTest once per tool and write down the answer. It is a property of the software, not of the project.\n\n## Routes that work\n\n**1. Render the text elsewhere and import it as an image.** The most reliable route and it works in every editor.\n\nSet the text in Inkscape, GIMP, LibreOffice or a browser (all of which shape correctly) export a PNG with transparency at four times the size you need, and place it on the timeline. For a caption track this is laborious; for titles and supers it is fine.\n\n**2. Burn subtitles with FFmpeg using libass.** The `subtitles` filter uses libass, which uses HarfBuzz and shapes correctly.\n\n```bash\nffmpeg -i film.mp4 -vf \"subtitles=hindi.srt:force_style=\\\n'FontName=Noto Sans Devanagari,FontSize=30,BorderStyle=3,MarginV=100'\" \\\n-c:a copy out.mp4\n```\n\nThis is the best free route for a full caption track in a complex script, and the output is correct.\n\n**3. Render the graphic in a browser.** HTML and CSS shape correctly, and a headless browser screenshot gives you a PNG per cue.\n\n**4. Ship a sidecar file and let the player shape it.** An `.srt` or `.vtt` uploaded to a platform is rendered by the platform's own text engine, which handles complex scripts correctly. This is the simplest answer of all, and it is why a sidecar file is not merely an accessibility nicety for these languages; it is often the only route that renders properly.\n\n> Figure: Routes that shape a complex script correctly, most reliable first. Layers, top to bottom: A sidecar file, shaped by the platform (The player's own text engine does the work. Simplest route of all); FFmpeg's subtitles filter (libass uses HarfBuzz, so a whole caption track burns in correctly); Text rendered in a browser (HTML and CSS shape correctly; screenshot one transparent PNG per cue); A PNG set in Inkscape or GIMP (Works in every editor. Fine for supers, laborious for a caption track); The editor's own title tool (Test it first. If the vowel sign in कि sits on the right, it is not shaping). Test once per tool and write the answer down: this is a property of the software, not of the project. Noto covers the scripts, is free for commercial use and has complete shaping tables.\n\n## Fonts\n\nUse the **Noto** family. Google's Noto project covers essentially every script in Unicode, is licensed under the SIL Open Font License, is free for commercial use, and its shaping tables are complete and well tested.\n\n`Noto Sans Devanagari`, `Noto Sans Tamil`, `Noto Sans Bengali`, `Noto Serif Devanagari`, and so on. There are also good free alternatives (Mukta, Hind, Rozha One, Baloo, Yantramanav) most on Google Fonts under the OFL.\n\nTwo practical notes. Indic scripts need more vertical space than Latin: vowel marks sit above and below the baseline, so a line height that is comfortable for English clips the matras. Increase line spacing by 20 to 30%. And a mixed-script caption (Hindi with an English technical term in it, which is how people actually speak) needs a font pairing that looks intentional, or a font family that covers both, which Noto Sans does.\n\n## Reading speed\n\nThe 17-characters-per-second guideline was derived for Latin script. For Devanagari and other abugidas, a character carries more information (a single syllable cluster where Latin needs two or three letters) so a straight character count understates the reading time available.\n\nThere is no settled figure. The honest practice is to test with a reader of the language rather than trusting a number, and to err toward longer cue durations.\n\n## Right-to-left\n\nUrdu, Arabic and Hebrew add direction to shaping. A caption containing an English word inside an Urdu sentence is bidirectional text, and getting it right depends on the renderer implementing the Unicode bidirectional algorithm. Most video editors do not. Sidecar files and libass are again the reliable routes.\n\n## Today\n\nType `कि` into your editor's title tool. If the vowel sign is on the right of the consonant, you have just learnt something important about your software."},"check":{"question":"A Hindi title typed into a video editor shows the vowel sign for 'i' to the right of its consonant instead of the left. The editor installs three different Devanagari fonts and the problem persists. What is happening?","options":[{"text":"The fonts lack the required OpenType substitution tables, and a font with complete Devanagari tables would render it correctly in the same software.","correct":false,"tempting":"Incomplete font tables do cause script failures, but a mainstream Devanagari font has those tables. The software is not reading them at all."},{"text":"The text was typed in the wrong order, and entering the vowel sign before the consonant will place it correctly in the rendered title.","correct":false,"tempting":"Reverses the encoding model: Devanagari is stored in logical order with the vowel after its consonant, and the renderer is supposed to reorder it for display."},{"text":"The editor is drawing glyphs in typed order without a shaping engine, so no font can supply the reordering that the renderer is not performing.","correct":true},{"text":"The title tool is rendering at a resolution too low for the vowel sign to be positioned accurately, and working at a larger size will resolve the placement.","correct":false,"tempting":"Rendering size affects fidelity of the glyph shapes but not which side of a consonant a mark is placed on, which is a logic decision rather than a resolution one."}]},"prev":{"slug":"subtitle-files-in-practice","title":"Subtitle files, as files","url":"https://addaly.com/learn/video-editing/subtitle-files-in-practice"},"next":{"slug":"screen-recordings","title":"Editing a screen recording so it can be read","url":"https://addaly.com/learn/video-editing/screen-recordings"},"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) 'When your editor cannot render the script', in Editing Video. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/video-editing/subtitles-in-indian-languages (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":"When your editor cannot render the script","courseTitle":"Editing Video","module":{"index":6,"slug":"text-and-graphics","title":"Text, captions and graphics"},"answer":null,"keyIdea":"Indic and Arabic scripts need a shaping engine to reorder and combine glyphs, and many video editors do not have one, so test with a conjunct and a reordering vowel, and use libass through FFmpeg or a sidecar file rather than the title tool.","hero":{"kind":"figure","figure":{"t":"figure","label":"Figure","figure":{"caption":"Test once per tool and write the answer down: this is a property of the software, not of the project. Noto covers the scripts, is free for commercial use and has complete shaping tables.","layers":[{"label":"A sidecar file, shaped by the platform","detail":"The player’s own text engine does the work. Simplest route of all"},{"label":"FFmpeg’s subtitles filter","detail":"libass uses HarfBuzz, so a whole caption track burns in correctly"},{"label":"Text rendered in a browser","detail":"HTML and CSS shape correctly; screenshot one transparent PNG per cue"},{"label":"A PNG set in Inkscape or GIMP","detail":"Works in every editor. Fine for supers, laborious for a caption track"},{"label":"The editor’s own title tool","detail":"Test it first. If the vowel sign in कि sits on the right, it is not shaping"}],"title":"Routes that shape a complex script correctly, most reliable first","type":"stack"},"alt":"Figure: Routes that shape a complex script correctly, most reliable first. Layers, top to bottom: A sidecar file, shaped by the platform (The player’s own text engine does the work. Simplest route of all); FFmpeg’s subtitles filter (libass uses HarfBuzz, so a whole caption track burns in correctly); Text rendered in a browser (HTML and CSS shape correctly; screenshot one transparent PNG per cue); A PNG set in Inkscape or GIMP (Works in every editor. Fine for supers, laborious for a caption track); The editor’s own title tool (Test it first. If the vowel sign in कि sits on the right, it is not shaping). Test once per tool and write the answer down: this is a property of the software, not of the project. Noto covers the scripts, is free for commercial use and has complete shaping tables."}},"blocks":[{"t":"h2","id":"the-problem-nobody-warns-you-about","runs":[{"text":"The problem nobody warns you about"}]},{"t":"p","runs":[{"text":"You type a Hindi or Tamil or Bengali caption into your video editor’s title tool and it comes out wrong. Not a missing-font box. Worse than that. The letters are present and in the wrong shape: conjuncts broken apart, vowel marks sitting after the consonant instead of before it, the matra detached and floating."}]},{"t":"p","runs":[{"text":"This is not a font problem and installing a different font usually does not fix it. It is a "},{"text":"text shaping","b":true},{"text":" problem, and it affects a very large share of this readership."}]},{"t":"h2","id":"what-text-shaping-is","runs":[{"text":"What text shaping is"}]},{"t":"p","runs":[{"text":"In Latin script, rendering text is roughly a matter of drawing one glyph per character, left to right. Complex scripts do not work that way."}]},{"t":"p","runs":[{"text":"In Devanagari, Bengali, Tamil, Telugu, Kannada, Malayalam, Gurmukhi, Odia, Sinhala (and in Arabic, Thai and others) the shape a character takes depends on its neighbours, and characters reorder visually. The vowel sign "},{"text":"i","i":true},{"text":" is typed after its consonant and drawn before it. Two consonants combine into a single conjunct glyph. A consonant takes a different form when it carries a vowel sign."}]},{"t":"p","runs":[{"text":"Doing this correctly requires a "},{"text":"shaping engine","b":true},{"text":" (HarfBuzz is the standard free one) which reads the font’s OpenType tables and applies its substitution and positioning rules."}]},{"t":"p","runs":[{"text":"Some video software does not use one, or uses an old or partial implementation. In that case the characters are drawn in typed order with no substitution, which produces exactly the breakage described."}]},{"t":"h2","id":"testing-whether-your-tool-shapes-correctly","runs":[{"text":"Testing whether your tool shapes correctly"}]},{"t":"p","runs":[{"text":"A quick test string per script. Type it, and compare against the same string rendered in your web browser, which does shape correctly."}]},{"t":"ul","items":[[{"text":"Devanagari","b":true},{"text":": "},{"text":"क्षत्रिय","code":true},{"text":": two conjuncts. If you see the halant (the small stroke) visible between letters rather than the letters joined, shaping failed."}],[{"text":"Devanagari vowel reorder","b":true},{"text":": "},{"text":"कि","code":true},{"text":": the "},{"text":"i","i":true},{"text":" sign must appear to the "},{"text":"left","b":true},{"text":" of the क. If it is on the right, the engine is not reordering."}],[{"text":"Tamil","b":true},{"text":": "},{"text":"ஸ்ரீ","code":true}],[{"text":"Bengali","b":true},{"text":": "},{"text":"ক্ষ","code":true}],[{"text":"Arabic","b":true},{"text":": "},{"text":"مرحبا","code":true},{"text":": letters must join. Isolated forms mean no shaping."}]]},{"t":"p","runs":[{"text":"Test once per tool and write down the answer. It is a property of the software, not of the project."}]},{"t":"h2","id":"routes-that-work","runs":[{"text":"Routes that work"}]},{"t":"p","runs":[{"text":"1. Render the text elsewhere and import it as an image.","b":true},{"text":" The most reliable route and it works in every editor."}]},{"t":"p","runs":[{"text":"Set the text in Inkscape, GIMP, LibreOffice or a browser (all of which shape correctly) export a PNG with transparency at four times the size you need, and place it on the timeline. For a caption track this is laborious; for titles and supers it is fine."}]},{"t":"p","runs":[{"text":"2. Burn subtitles with FFmpeg using libass.","b":true},{"text":" The "},{"text":"subtitles","code":true},{"text":" filter uses libass, which uses HarfBuzz and shapes correctly."}]},{"t":"code","lang":"bash","label":"Bash","text":"ffmpeg -i film.mp4 -vf \"subtitles=hindi.srt:force_style=\\\n'FontName=Noto Sans Devanagari,FontSize=30,BorderStyle=3,MarginV=100'\" \\\n-c:a copy out.mp4"},{"t":"p","runs":[{"text":"This is the best free route for a full caption track in a complex script, and the output is correct."}]},{"t":"p","runs":[{"text":"3. Render the graphic in a browser.","b":true},{"text":" HTML and CSS shape correctly, and a headless browser screenshot gives you a PNG per cue."}]},{"t":"p","runs":[{"text":"4. Ship a sidecar file and let the player shape it.","b":true},{"text":" An "},{"text":".srt","code":true},{"text":" or "},{"text":".vtt","code":true},{"text":" uploaded to a platform is rendered by the platform’s own text engine, which handles complex scripts correctly. This is the simplest answer of all, and it is why a sidecar file is not merely an accessibility nicety for these languages; it is often the only route that renders properly."}]},{"t":"h2","id":"fonts","runs":[{"text":"Fonts"}]},{"t":"p","runs":[{"text":"Use the "},{"text":"Noto","b":true},{"text":" family. Google’s Noto project covers essentially every script in Unicode, is licensed under the SIL Open Font License, is free for commercial use, and its shaping tables are complete and well tested."}]},{"t":"p","runs":[{"text":"Noto Sans Devanagari","code":true},{"text":", "},{"text":"Noto Sans Tamil","code":true},{"text":", "},{"text":"Noto Sans Bengali","code":true},{"text":", "},{"text":"Noto Serif Devanagari","code":true},{"text":", and so on. There are also good free alternatives (Mukta, Hind, Rozha One, Baloo, Yantramanav) most on Google Fonts under the OFL."}]},{"t":"p","runs":[{"text":"Two practical notes. Indic scripts need more vertical space than Latin: vowel marks sit above and below the baseline, so a line height that is comfortable for English clips the matras. Increase line spacing by 20 to 30%. And a mixed-script caption (Hindi with an English technical term in it, which is how people actually speak) needs a font pairing that looks intentional, or a font family that covers both, which Noto Sans does."}]},{"t":"h2","id":"reading-speed","runs":[{"text":"Reading speed"}]},{"t":"p","runs":[{"text":"The 17-characters-per-second guideline was derived for Latin script. For Devanagari and other abugidas, a character carries more information (a single syllable cluster where Latin needs two or three letters) so a straight character count understates the reading time available."}]},{"t":"p","runs":[{"text":"There is no settled figure. The honest practice is to test with a reader of the language rather than trusting a number, and to err toward longer cue durations."}]},{"t":"h2","id":"right-to-left","runs":[{"text":"Right-to-left"}]},{"t":"p","runs":[{"text":"Urdu, Arabic and Hebrew add direction to shaping. A caption containing an English word inside an Urdu sentence is bidirectional text, and getting it right depends on the renderer implementing the Unicode bidirectional algorithm. Most video editors do not. Sidecar files and libass are again the reliable routes."}]},{"t":"h2","id":"today","runs":[{"text":"Today"}]},{"t":"p","runs":[{"text":"Type "},{"text":"कि","code":true},{"text":" into your editor’s title tool. If the vowel sign is on the right of the consonant, you have just learnt something important about your software."}]}],"check":{"question":[{"text":"A Hindi title typed into a video editor shows the vowel sign for ‘i’ to the right of its consonant instead of the left. The editor installs three different Devanagari fonts and the problem persists. What is happening?"}],"options":[{"text":[{"text":"The fonts lack the required OpenType substitution tables, and a font with complete Devanagari tables would render it correctly in the same software."}],"correct":false,"tempting":[{"text":"Incomplete font tables do cause script failures, but a mainstream Devanagari font has those tables. The software is not reading them at all."}]},{"text":[{"text":"The text was typed in the wrong order, and entering the vowel sign before the consonant will place it correctly in the rendered title."}],"correct":false,"tempting":[{"text":"Reverses the encoding model: Devanagari is stored in logical order with the vowel after its consonant, and the renderer is supposed to reorder it for display."}]},{"text":[{"text":"The editor is drawing glyphs in typed order without a shaping engine, so no font can supply the reordering that the renderer is not performing."}],"correct":true,"tempting":null},{"text":[{"text":"The title tool is rendering at a resolution too low for the vowel sign to be positioned accurately, and working at a larger size will resolve the placement."}],"correct":false,"tempting":[{"text":"Rendering size affects fidelity of the glyph shapes but not which side of a consonant a mark is placed on, which is a logic decision rather than a resolution one."}]}],"order":[1,3,0,2],"why":null},"prev":{"slug":"subtitle-files-in-practice","title":"Subtitle files, as files","minutes":8},"next":{"slug":"screen-recordings","title":"Editing a screen recording so it can be read","minutes":8}}}