typeset

Text widths from the font file, checked against your browser

typeset reads the advance of each glyph and the kerning from the font tables. It does not draw the text. This page loads a real font, measures text with the tables and with the canvas of your browser, and shows the difference.

Lab live

Type or pick a text. Both widths update as you type.

Size

Canvas measureText–px, the reference
typeset model–px, from the tables
Error–px, model minus canvas
The canvas draws the text. Each tick is the end of a glyph in the model. The bars give the two widths. The error is the gap between their ends.

Canvas words

Blink shapes the text of a canvas one word at a time, so no kerning goes across two words. Each CJK character is a word alone. Select a word to see its glyphs.

Glyphs of the first word
CharGlyphAdvanceKerningpx

Advance and kerning are in font units. One em has – units. The px column has no rounding.

Sweep in this browser

The sweep measures the CI corpus in your browser: 40 texts for each script and length, at 6 sizes from 10 to 48 px.

No sweep yet. A sweep of Noto Sans takes a few seconds.

CI platforms recorded

Select a cell to see its count of texts and its worst text.

How it works