Tested fix, 5 languages

Subtitles showing boxes instead of letters: find the missing glyphs and fix them

Updated Tested November 29, 2026ffmpeg 6.1.1, libass 0.17.1Vietnamese, Polish, Turkish, Czech, Russian

Magnifier over a video with a blank caption bar, by the headline: Subtitles showing boxes instead of letters

Short answer

Subtitles showing boxes instead of letters means the font has no glyph for those letters. Your translation is fine. Display fonts often cover Western and Central European letters but stop before Vietnamese and Cyrillic: Bebas Neue has none of the 66 Russian letters and lacks 92 of 178 Vietnamese ones. List the letters your file uses, check a font for them in a font inspector, then burn again with a font that has them. No command line? The free Koldflux Add subtitles tool burns with Inter, which covered all 5 test languages. In our ffmpeg burns the gap showed as a box, a blank or a second font.

Font inspector: see which letters a font is missing (free, in your browser)

Key takeaways

  • Look at the frame first. In our ffmpeg (libass) burns, crossed boxes meant no installed font had the letter, a word in two different fonts meant a fallback font filled in, and a missing letter with no box (barierk and a gap instead of barierką) meant the font draws nothing for it.
  • The subtitle file is not broken. In all 7 test files, the same text burned cleanly once the font changed to one that has the letters (Inter: 0 missing in all 5 languages).
  • A short script lists every character your SRT uses and, given a font file, the ones the font lacks. On the Vietnamese file and Bebas Neue it named the same 14 letters the burn log did.
  • The Koldflux font inspector showed the same missing letters as fontTools in 35 of 35 font and file pairs, so you can check a font in the browser before burning anything.
  • A typo in the font name or the fontsdir folder is silent. FontName=Intr, and fontsdir pointing to a folder that does not exist, both burned without an error in Noto Sans, not the font named.

Three different looks have the same cause

This one is maddening because the SRT looks perfect in a text editor. Then you burn it and half the words come out wrong. The text is fine. The font is the problem.

A font only draws the letters its designer included. Plenty of popular display fonts were made for English and a few Western European languages. Vietnamese uses 178 letters counting capitals: 44 plain ones and 134 with accents or the stroke of đ, 60 of them with two accents stacked (ầ, ở). Czech needs ř and ů, Turkish needs İ and ş, and Russian needs a whole second alphabet. When the subtitle renderer meets a letter the font does not have, what you see depends on the font and on which other fonts are installed.

Find your case in the strip below, then go to its section. Each reading is what ffmpeg with libass did in our test; other apps were not run. The fix at the end is the same for all three.

  • Crossed boxes in place of some letters: no installed font had them.
  • Letters that look heavier or wider than their neighbours: a fallback font filled in.
  • Letters that are simply gone, or a stray gap: the font draws nothing for them.
Four subtitle frames: crossed boxes in Vietnamese, the same line in two fonts, a Turkish word missing its İ, and a clean fix
Four burns from the test: Bebas Neue with no fallback fonts (boxes), Bebas Neue on our server with its 309 system fonts (two fonts in one line), Titan One dropping the Turkish İ (gap), and the fix with Inter.

Crossed boxes meant no installed font had the letter

The box is the font's own "no glyph" shape. Bebas Neue draws it as a rectangle with a cross. In ffmpeg (libass) we got it when the font lacked the letter and no other installed font had it either: our run with no fallback fonts. On our server with 309 fonts, libass borrowed the letter instead. We only tested those two extremes; our reading is that servers, containers and stripped-down setups with few fonts are where boxes turn up. Video editors and other apps were not run and may handle a missing letter their own way.

In our run with no fallback fonts, the Vietnamese file in Bebas Neue logged 2,400 "failed to find any fallback with glyph" lines: one per missing letter per frame. The Russian file logged 12,840. The English control file logged none, and its frames were pixel-identical with and without fallback fonts, so the boxes come from the letters alone.

The hex code in each log line is the letter. 0x1B0 is ư and 0x1EA7 is ầ. The command in the next section prints them.

A word in two fonts means a fallback font filled in

On our server with 309 system fonts, libass quietly borrowed each missing letter from another font. No box, no error. You just get a Vietnamese word where the plain letters are Bebas Neue and the accented ones are Noto Sans, a different width and weight. In Russian the whole line came out in Noto Sans, because Bebas Neue has none of the letters.

You can prove which font file was used. Run the burn once with verbose logging and keep only the font selection lines. Put your own files in place of video.mp4 and subs.srt, the folder that holds your font in place of fonts, and your font's name in place of Bebas Neue (the inspector shows the name):

Two file names in the output means a fallback was used. One file name, the font you asked for, and no "failed to find any fallback" lines means every letter was in it. If the only file is something you never asked for, the font name or the fontsdir folder did not match: see the typo trap below. No output at all means ffmpeg stopped before rendering; a wrong subtitle path did that in our test, and the pipeline still ended with exit code 0. Run the same command without everything from 2>&1 on to see the error.

ffmpeg -v verbose -i video.mp4 -vf "subtitles=subs.srt:fontsdir=fonts:force_style='FontName=Bebas Neue'" -f null - 2>&1 | grep fontselect | sort | uniq -c
On the Vietnamese file with Bebas Neue it printed two lines, each with a count and a [Parsed_subtitles_0 @ ...] prefix: one ending in BebasNeue-Regular, one in /usr/share/fonts/truetype/noto/NotoSans-Regular.ttf. With no fallback fonts it printed one BebasNeue-Regular line plus 14 "failed to find any fallback with glyph" lines. -f null - renders every frame and writes no file. Runs and edge inputs are in commands.log.

A missing letter with no box means the font draws nothing

Some fonts have an empty "no glyph" shape. Then the letter simply disappears and the word closes up or leaves a gap. With fallback off, Permanent Marker turned the Polish word barierką into barierk with a gap, and dropped č, ě, ň, ř and ů from the Czech line. Titan One has every Turkish letter except the capital İ, so İzlediğiniz came out as zlediğiniz. That one is easy to miss in review because the rest of the line looks right.

If your subtitle reads like a typo in only some languages, check the font before you blame the translator.

Your subtitle file tells you which letters the font needs

Before trying fonts, list the characters the file actually uses. srt-chars.py (a short Python script, linked in the sources) skips cue numbers and timecodes and prints every character outside plain ASCII, once each:

One surprise worth knowing. Some tools save Vietnamese with the accents as separate marks after the base letter (Unicode NFD). The script then prints a note that combining marks were found. Bebas Neue has 5 of the 8 marks Vietnamese uses, so on that file it lacks only 3 characters, yet it still cannot draw the words properly. Convert the file to NFC (the Unicode "composed" form) before you judge a font by it.

python3 srt-chars.py subs.srt
On the Vietnamese test file: 19 characters outside plain ASCII. It also handles a BOM and Windows line breaks, and refuses a file that is not UTF-8 with exit code 2. Only lines of plain digits 0-9 count as cue numbers, so a caption made of other digits (Arabic-Indic ١٢٣) is still checked. Every run is in commands.log.

The font inspector shows the gaps before you burn anything

If you would rather not run a script, open the Koldflux font inspector, choose your TTF file, paste your subtitle text into the text box, and press Inspect selected TTF. Open Output checks and read missingCodepoints: those are the characters the font has no glyph for. They are decimal numbers, so 432 is U+01B0, the Vietnamese ư, and 417 is ơ. The inspector takes a TTF file of at most 1 MB; for an OTF or a larger font use srt-chars.py instead (both tested).

The inspector agreed with the fontTools check in all 35 combinations of 5 fonts and 7 test files, the Cyrillic and NFD files included. The tool page says the original file stays on your device.

How common are gaps? The chart shows how many letters of each language five free fonts lack, using the full CLDR letter set of each language (lower and upper case), not just our short test lines.

Koldflux font inspector with Bebas Neue and Vietnamese subtitle text, listing 14 missing code points as numbers
The live font inspector with Bebas Neue and the Vietnamese subtitle text: missingCodepoints holds the same 14 letters the burn log named.

Display fonts lost most often, and Cyrillic was all or nothing in our five

Two patterns stand out in our five fonts. Polish and Czech were complete in four of them and Turkish in three: Titan One lacks the capital İ, and Permanent Marker, a hand-drawn font, stops at basic Western letters. Vietnamese and Russian are where fonts failed. Russian was all or nothing: four fonts had none of the 66 letters and Inter had all of them. Five fonts do not make that a rule, so check yours. Be Vietnam Pro covers every Vietnamese letter and none of the Russian ones. Inter, the font the Koldflux burn tool uses, covers all five.

Missing letters per font, from the same check
FontVietnamesePolishTurkishCzechRussian
Inter Bold00000
Be Vietnam Pro Bold000066
Bebas Neue9200066
Titan One9401 (İ)066
Permanent Marker1021451466

Out of vi 178, pl 64, tr 58, cs 82, ru 66.

Grid of missing letters per font and language; Inter has none missing, Bebas Neue lacks 92 Vietnamese and 66 Russian letters
Letters missing per font, out of the CLDR 49 letter set of each language with capitals: Vietnamese 178, Polish 64, Turkish 58, Czech 82, Russian 66 (fontTools cmap check).

Naming a font that has the letters fixes the burn

Put a font that covers your language in a folder next to the video and name it in the burn command. fontsdir tells the subtitles filter where to look, and the ffmpeg manual says those fonts "will be used in addition to whatever the font provider uses." force_style overrides the style inside the subtitle file; the manual describes it as taking "ASS style format KEY=VALUE couples separated by ","."

Use the family name the font reports (the inspector shows it), not the file name. Get it wrong and nothing warns you. FontName=Intr burned without complaint, in Noto Sans. A wrong folder name in fontsdir is just as silent: fontsdir=nofonts gave Noto Sans with no warning. Run the fontselect check from the mixed-fonts section once after any change to either.

With Inter named this way, all 7 test files burned with zero fallback lines and every letter in one font. For other fonts, the Koldflux Vietnamese and Cyrillic collections are a place to start: most fonts in them carry the full set, but not every one, so check the font you pick in the font inspector with your own subtitle text. If the font is going on a paid project, check its license first.

No command line? The Koldflux Add subtitles tool burns an SRT in your browser with Inter. We ran it with the Vietnamese and the Russian file: each took about 109 seconds for the 20-second clip and drew every letter in one font, no boxes.

ffmpeg -i video.mp4 -vf "subtitles=subs.srt:fontsdir=fonts:force_style='FontName=Inter'" -c:a copy burned.mp4
fonts is the folder holding Inter-Bold.ttf. On the Russian file the log showed one font, Inter-Bold, and the audio track was copied unchanged. A video with no audio track gave a video-only file with no error. Give the SRT a simple name first: "Ep 1: Intro.srt" broke the filter with exit code 234, because a colon separates filter options; leave colons, commas and quotes out of the name. Details in commands.log.

Limits: where this fix stops

Everything here ran on Linux, with one ffmpeg and libass build and fontconfig as the font source. Keep these edges in mind before you rely on it:

  • Box or borrowed letter was measured only at two extremes: 309 system fonts and no fallback fonts at all.
  • Windows and macOS pick fallback fonts through their own systems, so the mixed-fonts case may borrow a different font there.
  • Players that show soft subtitles (VLC, a browser, YouTube) choose fonts their own way and were not part of the test. No phone app or video editor was run.
  • Arabic, Thai, Hindi and other scripts that need letter shaping can fail even when every character is in the font, so a character list is not enough for them. The Hindi captions guide covers that case.
  • Five languages and five fonts were checked, with short test lines. A long file may use letters ours did not.

Do it in your browser

Free Koldflux tools, no account needed.

Font inspector: see which letters a font is missing (free, in your browser)Add subtitles to a video: burn an SRT in with a font that covers 5 languages (free)Free Vietnamese fonts (check your pick in the font inspector)Free Cyrillic fonts for Russian and other languages

Questions people ask

Why do my subtitles show squares instead of letters?

The font used for the subtitles has no glyph for those letters, and no other installed font filled in. That is what ffmpeg with libass did in our test; other apps were not run. Switch to a font that covers the language and burn again.

Is my SRT file corrupted?

Almost certainly not, if it shows correctly in a text editor. In the tests, every file burned cleanly once the font changed. If you are unsure about the encoding, srt-chars.py tells you when a file is not UTF-8.

Why do only some accented letters break, not all?

Fonts often include common Western accents like á and ò but not Vietnamese letters like ơ or ầ. On the Vietnamese test file, Bebas Neue drew 5 of the 19 special characters and missed 14.

Why is one word in a different font?

A fallback font supplied the letters your font lacks. Run ffmpeg with -v verbose and look for fontselect lines: two different font files means a fallback was used.

Which free font works for Vietnamese and Russian subtitles?

In our check Inter covered every letter of Vietnamese, Polish, Turkish, Czech and Russian. Be Vietnam Pro covers Vietnamese but not Russian. Check any other font in the font inspector with your own subtitle text.

Does fontsdir alone fix it?

Not on its own. The ffmpeg manual says fontsdir adds fonts the filter can use; the renderer still picks a font by name. Name it with force_style (FontName=...) as well. Every clean burn in the test did both.

Related

More guides on this topic

Sources and how we checked

  1. FFmpeg filters documentation, subtitles filter: fontsdir and force_style (read November 29, 2026) (checked 2026-11-29)
  2. libass ass.h, ass_set_fonts and its default fallback font family (libass/libass on GitHub, read November 29, 2026) (checked 2026-11-29)
  3. Unicode CLDR 49 exemplar characters for vi, pl, tr, cs, ru (cldr-json, read November 29, 2026) (checked 2026-11-29)
  4. Waterfall on Falls Creek, south of Augusta, Montana: test clip, public domain (Wikimedia Commons) (checked 2026-11-29)
  5. Test fonts from Google Fonts (google/fonts): Bebas Neue, Be Vietnam Pro, Titan One (SIL OFL 1.1), Permanent Marker (Apache 2.0) (checked 2026-11-29)
  6. Inter font family and license (rsms/inter, SIL OFL 1.1) (checked 2026-11-29)
  7. Koldflux font inspector (our own tool, run November 29, 2026) (checked 2026-11-29)
  8. Koldflux Add subtitles tool (our own tool, run November 29, 2026) (checked 2026-11-29)
  9. Koldflux test log: cmap check, burn cases A, B, C, inspector comparison, claims ledger (our measurement) (checked 2026-11-29)
  10. commands.log: each published command on a test file and edge inputs (Koldflux) (checked 2026-11-29)
  11. srt-chars.py: lists the characters an SRT uses and the ones a font lacks (Koldflux, Python 3 and fontTools) (checked 2026-11-29)
  12. test-run.sh: downloads the clip and fonts and reruns every test (Koldflux, shell script) (checked 2026-11-29)
  13. make-srt.py, cmap-check.py and burn-tests.sh: test files, coverage check and burn cases (Koldflux) (checked 2026-11-29)
  14. inspector-check.cjs and burn-tool-check.cjs: drive the live Koldflux tools in headless Chromium (Koldflux) (checked 2026-11-29)

The ffmpeg filters manual and libass ass.h were read on November 29, 2026, and every quote on this page was checked against the saved copies by script. Our own short test lines in Vietnamese, Polish, Turkish, Czech and Russian, plus an English control file and a Vietnamese file in NFD, were burned onto the first 20 seconds of a public domain Wikimedia Commons clip with ffmpeg 6.1.1 and libass 0.17.1 on an Ubuntu server: with the system fonts as fallback (A), with no fallback fonts (B), and with Inter named through fontsdir and force_style (C). Results come from the fontselect log lines and from frames looked at by eye. A fontTools cmap check against the CLDR 49 letter sets had controls with known answers (plain ASCII present in every font, U+0F00 absent from every font). The live Koldflux font inspector was driven in headless Chromium and compared with fontTools on all 35 font and file pairs; the live burn tool was run once each on the Vietnamese and Russian files. Every published command is in commands.log with edge inputs (among them a wrong fontsdir folder, a wrong subtitle path, a colon in the file name, an OTF font and non-ASCII digits). Not tested: Windows or macOS, soft subtitles in players, any app or editor, scripts that need shaping.