Documents & other

BMFont Bitmap Fonts: online viewer for .fnt files

Inspect BMFont glyphs, kerning and atlas references, and type a specimen.

Formats
  • .fnt
Bitmap fonts01 / 03

Bitmap fonts01 / 03

Viewing Bitmap fonts in Vormio, screenshot 1 of 3

Capabilities

What it reads and its limits

Text in game UIs is often drawn with BMFont bitmap fonts. A .fnt descriptor records where each glyph sits in an atlas, with its offsets and kerning, and separate atlas images hold the rendered glyphs. BMFont, Hiero, Glyph Designer, ShoeBox and msdf-bmfont-xml all export this format. Your operating system cannot open .fnt files, so a folder shows just an icon that tells you neither which atlases a font uses nor whether they are still there. This plugin lets Vormio understand BMFont. You can see what each font looks like right in the folder and open it to type a specimen. You can also see which atlases it uses.

What it does

  • Thumbnails: “Aa” built from the font’s own glyphs, or its first few glyphs when it has no Latin letters. Atlases with white glyphs and alpha (BMFont’s default, tinted at run time in the game) are drawn in a mid gray that reads well in the light and dark themes. Colored and outlined glyphs are drawn as they are.
  • Viewer: a specimen you can edit, laid out with each glyph’s offsets, advance and kerning; characters the font lacks are left blank with a notice. Below it is every atlas page with each glyph’s bounds. Pages that cannot be shown say why: the file is missing, its image format cannot be decoded, or its size differs from the descriptor.
  • Composition: the font name and size, line height and baseline, glyph and kerning pair counts, the distance field type and range, and each atlas page. The atlas width and height are reported as properties.
  • Reference checks: every atlas page image. Vormio checks whether each file is still there: missing ones are flagged, and existing ones are one click away.

What it supports

  • All three BMFont formats: text, XML and binary (version 3); multi-page atlases; the fallback glyph BMFont writes (id=-1); fonts whose size is negative (Match char height).
  • Atlases in any image format the browser can decode (PNG, JPEG, WebP and so on), at the size the descriptor states.

Distance-field fonts (SDF, MSDF) show the field itself as an ordinary image in the thumbnail, specimen and atlas, without reconstructing glyph edges. Channel-packed fonts, whose glyphs are spread over the four RGBA channels, get no thumbnail or specimen, and the viewer shows the raw atlas. TGA and DDS atlas pages cannot be decoded and are not shown. Thumbnails only decode the pages holding the glyphs they draw, and show the format icon when one of those pages cannot be read. Descriptors are read up to 16 MiB and an atlas page up to 32 MiB. The atlas pages decoded together may have up to 32 megapixels (two pages of 4096 × 4096); pages beyond that are not shown. Legacy Windows bitmap fonts also use the .fnt extension; they are recognized and explained, not read. Fonts are not edited.

Your files stay on your computer

In the web version, files are read by your browser straight from the folder you choose; they are never uploaded. In the desktop app, Vormio opens your folders read-only and never copies, moves or changes your files.

Where to inspect

Choose how to inspect your files

Start in your browser

The web app reads one local folder at a time. UID / GUID references are marked “Not checked”.

Working across folders?

Desktop links multiple folders, filters by properties, shows what references a file and watches for changes.

Related guides

Related guides

Related formats

Related formats