How to inspect a font file

Files get renamed. A font called Helvetica.ttf can declare Arial inside, and a subsetted web font can be missing half the alphabet. Reading the tables takes ten seconds and saves an afternoon.

What the viewer shows

Family and style names come from the font's name table — the same strings your operating system displays. Weight class comes from OS/2, the glyph count from maxp, and the outline type is decided by whether the file carries TrueType or PostScript tables.

Inspect it

  1. Open the font viewer.
  2. Drop a TTF, OTF, WOFF or WOFF2 file. Web fonts are decoded first, so the preview is the real typeface.
  3. Read the table, then check the preview line under it.

The field people ignore: glyph count

A full Latin text face has a few hundred glyphs; a CJK family can have tens of thousands. If you install a font and characters come out as boxes, the glyph count usually explains it: the file was subsetted for a website and only ever contained those characters.

The licence bits, without the legalese

OS/2 has an fsType field recording what the foundry permits: installable, preview and print only, editable, or restricted. A value of zero means no restriction is set, which is normal for open-source fonts. It is a hint rather than a contract — a permissive value does not override a commercial licence, and embedding a font in a PDF is a separate permission from installing it.

Why the preview matters

Metrics and names do not tell you whether the design is any good, and they certainly do not tell you whether a font that claims to be a grotesque actually looks like one. The preview is rendered by your browser from the file you dropped, not from installed fonts, so it is the real thing.

Open a font and read its tables

Open Font Viewer

All guides