TrueType vs. CFF Outline DetectorDetect CFF OTTO vs TrueType glyf outline flavor (Fixture D)

Font Outline Flavor & Extension Detector

Determine instantly whether any .woff, .woff2, .ttf, or .otf file contains quadratic TrueType (glyf) splines or cubic PostScript CFF (OTTO) curves.

Archival Desktop Font Recovery

Drop a .woff or .woff2 webfont to restore a desktop .ttf or .otf

Accepts .woff, .woff2, .ttf, .otf · Up to 15 MB · Your font stays on this device

Verified Sample · OFL-1.1Sample file: proof-serif-cff.woff (1.2 KB)

Verified Sample Result & Instant Demo

Try Sample File in 1 Click

What SFNT outline flavor and compatible desktop file suffix does binary inspection identify inside proof-serif-cff.woff?

Detected Outline Signature
OTTOtag
Compatible Desktop Suffix
.otfext
SFNT Table Count
9tables
Cryptographic SHA-256 & Engine Provenance
Sample Input File
proof-serif-cff.woff · 1276 bytes · OFL-1.1
Browser Codec Engine
opentype.js 2.0.0
Input SHA-256 Digest
25043e1a2a7ed9ea38be436b31132a497ce3da8fcce98c7167cfd02747d0ade2
Engine Artifact SHA-256
e139522ac432bb38fb4878d772012f0ad351993c36d7815d65a9890fb3fe68fb
Reference Verification
fontTools 4.64.0
Schema & Preset ID
fonts.wofftottf.font-outline-detector.v1 · detect-outline-flavor · detect-cff-vs-glyf-flavor

Distinguishing Quadratic TrueType Contours from Cubic CFF Outlines

How Magic Signatures and Outline Tables Govern Desktop Compatibility

Filename extensions on downloaded font assets are notoriously unreliable. Assets fetched from CDNs or legacy CMS exports often arrive without extensions or carry a generic .ttf label even when compiled from PostScript sources. Inspecting the binary SFNT version word and outline table tags resolves the ambiguity deterministically.

TrueType fonts begin with 0x00010000 (or 0x74727565 on legacy Apple fonts) and store quadratic off-curve B-splines inside paired glyf and loca tables, optionally accompanied by fpgm, prep, and cvt bytecode hinting programs. OpenType PostScript fonts begin with 0x4F54544F (OTTO) and store cubic Bezier Type 2 charstrings inside a CFF or variable CFF2 table with no loca table present.

  • Reads container magic bytes (wOF2, wOFF, 0x00010000, OTTO) prior to full parsing.
  • Cross-checks flavor headers against actual presence of glyf+loca vs CFF/CFF2 tables.
  • Recommends the standards-compliant desktop extension (.ttf or .otf) and MIME type.
  • Surfaces UPM grid resolution (typically 1000 UPM for CFF and 1000 or 2048 UPM for TrueType).
  • Prevents corrupt print spooler jobs caused by renaming PostScript charstring binaries with .ttf suffixes.
  • Inspects head.indexToLocFormat short vs long offset indexing when TrueType glyf contours are present.

Common Questions & Answers

Can an OpenType .otf file actually contain TrueType outlines?

According to the OpenType spec, .otf can technically house either flavor, whereas .ttf should only house TrueType outlines. However, design pipelines universally reserve .otf for OTTO CFF outlines and .ttf for 0x00010000 glyf outlines.

Why do CFF fonts usually use 1000 Units Per Em while TrueType often uses 2048?

PostScript Type 1 heritage standardized on a 1000-unit em square, whereas TrueType rasterizers historically favored powers of two such as 1024 or 2048 for fast integer bit-shifting.

100% Private In-Browser Processing

Verified local execution

  • Zero Cloud Uploads

    Your files stay on this device and are never sent to any remote server.

  • Instant Local Speed

    Runs directly on your device up to 15 MB with no upload queue.

  • No Account Needed

    Open a file, inspect your preview, and download immediately without signing up.

View Security Architecture
Execution Sandbox
Dedicated Web Worker
Post-Init Network
Locked (0 Egress)
Max File Budget
15 MB
Cross-Origin Isolation
Single-Thread WASM

After local WebAssembly initialization, Worker network APIs (fetch, XMLHttpRequest, WebSocket) are locked to prevent outbound data egress.