Arabic font checker
Does your font have every letter your text uses?
- Checks your page
- 3 browsers
- 2 rules
- Last updated
What we keep
The result appears here
Enter your page’s address and press “Check the page”. This is what the tool runs on it:
- Web font without Arabic lettersnot started
- Arabic font missing letters its text usesnot started
What it checks
- The web font you chose for Arabic text has Arabic letters, not Latin letters only, which would leave the browser to draw the whole text in another font.
- It has all the Arabic letters, so no single word is drawn in two fonts whose shapes, weights and heights do not match.
- The other characters the text uses, such as «ڤ», «پ», the Arabic-Indic digits, Arabic punctuation and diacritics: whether that font, or a web font after it in the list, has them.
Example
body {
margin: 16px;
font-family: 'Brand Latin', sans-serif;
}body {
margin: 16px;
font-family: 'Brand Latin', 'Brand Arabic', sans-serif;
}How to fix
Use a font that has Arabic letters, or list an Arabic font after the Latin one. For each character, the browser uses the first font in the list that has it, so the Latin font draws the Latin letters and the Arabic font the Arabic ones:
- When you subset the font, add everything your text uses to the list of characters the subsetting tool takes: «ڤ», «گ», «چ» and «پ», the Arabic-Indic digits, Arabic punctuation, and diacritics.
- A font split into parts with
unicode-rangeneeds a part that covers every character the text uses. - A font cut down to the letters of a logo or a heading suits that logo or heading only, not text.
<style>
body {
font-family: 'Brand Latin', 'Brand Arabic', sans-serif;
}
</style>FAQ
Because the font has Latin letters only. It is common when a site picks one font for its whole design: the Arabic text is then drawn in whatever font the visitor's device has, and looks different from one phone to the next. List an Arabic font after it in font-family.
It may be a subset: a file that holds only part of the font's characters, to be smaller. Subsetting tools take a list of characters, and what is not on the list is left out of the file. Often left out: «ڤ», «گ», «چ» and «پ», which come up in names and brands, the Arabic-Indic digits, Arabic punctuation, and diacritics.
This tool checks a font the browser loaded that lacks characters the text uses. The Arabic font fallback checker checks a font that did not load at all, so the browser drew the whole text in another font.
What this tool runs
- Web font without Arabic lettersmoderate
ar-font-no-arabic - Arabic font missing letters its text usesmoderate
ar-font-missing-letters
How we measure
We render the page in Chromium, Firefox and WebKit with Playwright, each behind Arablyzer's egress proxy. For each font-family whose first family is one of the page's web fonts, we add a hidden element holding every Arabic letter, set in that font-family, and ask Chromium which fonts drew it; only Chromium reports that, so we read this part from Chromium alone. Then, in each engine, we read the font files the browser loaded and the stylesheets that tie each font to its files and their unicode-range, to know which characters each font has, and go down each element's font-family list as the browser does to find the font that draws each character. We do not judge a character whose font file we did not read, such as a file still loading, or one whose size we could not know before reading it. We report each font once, with every character it lacks on the page. The same page gives the same result on every check.