# Font File Inspector

Inspect TTF/OTF/WOFF/WOFF2 fonts: metadata, glyph counts, metrics, style flags, Unicode coverage heatmap, glyph SVG previews, ligatures, OpenType features and variable-font axes.

> Canonical page: https://test.elysiatools.com/en/tools/font-file-inspector

- **Category:** Design

- **Keywords:** font, ttf, otf, woff2, glyphs, unicode, variable font, opentype features

## Overview

opentype.js 2.x parses TTF/OTF/WOFF directly; WOFF2 is pre-decompressed with wawoff2 (WASM woff2) since opentype.js cannot read it natively. Style flags decode OS/2.fsSelection (italic 0x1 / bold 0x20 / regular 0x200 / oblique 0x400) plus head.macStyle; ligatures come from GSUB lookupType 4 (coverage format 1/2 expanded over ligatureSets); variable fonts expose fvar.axes and fvar.instances. Icon fonts without letter mappings auto-sample their mapped codepoints for preview.

## Inputs

- **Font file (TTF / OTF / WOFF / WOFF2)** (file): Upload a .ttf, .otf, .woff or .woff2 file
- **Glyph preview text (empty = auto-sample)** (text): e.g. AaBb 0123 汉字 — leave empty to auto-sample mapped glyphs

## When to use

- You need a Unicode block coverage heatmap before embedding a webfont.
- You want SVG previews of mapped glyphs or a custom sample string without installing the font.
- You are checking ligatures, OpenType features, or fvar axes on a variable font.

## How it works

- Upload a .ttf, .otf, .woff, or .woff2 file (up to 15 MB). WOFF2 is decompressed to sfnt before parsing.
- Optionally enter glyph preview text, or leave it empty to auto-sample mapped codepoints, including icon fonts without letter mappings.
- The inspector reads name, cmap, OS/2, head, GSUB, and fvar tables and returns an HTML report with metrics, a Unicode heatmap, SVG previews, ligatures, features, and axes.

## Use cases

- Audit webfont Unicode coverage before shipping a multilingual site.
- Preview ligatures and SVG glyphs for a type specimen or icon set.
- Confirm variable-font axes and named instances without installing the file.

## Frequently asked questions

### Which font formats are supported?

TTF, OTF, WOFF, and WOFF2. WOFF2 files are decompressed automatically before inspection.

### What happens if preview text is empty?

Mapped glyphs are auto-sampled. Icon fonts without letter mappings are sampled from their mapped codepoints.

### What metadata appears in the report?

Family, subfamily, designer, copyright, version, glyph count, mapped codepoints, unitsPerEm, weight, width, italic angle, style flags, and bounding box.

### Does it list ligatures and OpenType features?

Yes. It extracts GSUB lookupType 4 liga ligatures and lists OpenType features.

### Can I inspect variable fonts?

Yes. The report shows fvar axes (tag, min, default, max) and named instances.

## Related tools

- [QR Code Art, Styled Module and Logo Embed Generator](https://test.elysiatools.com/en/tools/qr-code-art-styled-module-and-logo-embed-generator): Generate art QR codes with brand colors, gradients, rounded or dot modules and a centered logo, plus the ISO mask-penalty breakdown, per-module metadata export and a Reed–Solomon erasure-budget verdict.
- [Accessibility Checker](https://test.elysiatools.com/en/tools/accessibility-checker): Detect common WCAG 2.1 accessibility issues in HTML, fetched pages, or design images and return fix-ready guidance
- [SVG Minifier & Analyzer](https://test.elysiatools.com/en/tools/svg-minifier-analyzer): Analyze SVG markup, remove redundant elements, reduce payload size, compare before and after visually, and export cleaned files
- [Variable Font Axis Instance and CSS Font Variation Settings Builder](https://test.elysiatools.com/en/tools/variable-font-axis-instance-and-css-font-variation-settings-builder): Upload a variable font (TTF/OTF/WOFF/WOFF2) to inspect its fvar axes and named instances, preview interpolation live in the browser, and generate ready-to-paste font-variation-settings CSS plus the equivalent high-level properties and a variable @font-face block.
- [Convert SVG to WebP](https://test.elysiatools.com/en/tools/svg-to-webp): Convert SVG vector graphics to WebP raster format with modern compression and transparency support
- [CSV Histogram, Scatter and Box Plot Chart Studio](https://test.elysiatools.com/en/tools/csv-histogram-scatter-box-plot-chart-studio): Upload or paste a CSV and chart it instantly: histograms with Sturges / Freedman-Diaconis / Scott binning, scatter plots with Pearson r and a least-squares fit, and Tukey box plots — every chart downloadable as PNG and SVG.
- [Image Steganography Embed & Detect](https://test.elysiatools.com/en/tools/image-steganography-embed-detect): Hide text in a PNG's least-significant bits, extract it back, and run the Westfeld–Pfitzmann chi-square steganalysis with a falling-p curve and LSB plane preview.
- [Subtitle Platform Spec Checker](https://test.elysiatools.com/en/tools/subtitle-platform-spec-checker): Validate subtitles against delivery specs: Netflix Timed Text (20/17 CPS reading speed, 42 characters per line, two lines, 5/6-second minimum and 7-second maximum durations, 2-frame gaps), BBC television guidelines (37 characters per line, 160-180 wpm, 1.5-second pause gaps) and YouTube caption rules (plain UTF-8, markup not recognized) — with a per-cue findings report.

## Samples

- [Variable Font Samples](https://test.elysiatools.com/en/samples/variable-font-samples): Variable font files with fvar axes for the axis/instance inspector and CSS builder
- [SVG Samples](https://test.elysiatools.com/en/samples/svg-samples): Scalable Vector Graphics (SVG) samples demonstrating various SVG features and techniques
- [SVG Viewer Samples](https://test.elysiatools.com/en/samples/svg-viewer-samples): Sample SVG vector graphics (scene, icon set, diagram) for the in-browser SVG Viewer
- [XML Samples](https://test.elysiatools.com/en/samples/xml-samples): XML (eXtensible Markup Language) format examples from simple to complex structures

## Related content

- [Prepare and Verify Multilingual Web Typography](https://test.elysiatools.com/en/hubs/web-typography-font-pairing-and-delivery): Check font coverage, compare heading and body pairs with real copy, configure variable axes, and deliver responsive CSS with verified fallback behavior.
