SFNT Checksum & Table IntegrityRun full per-table & global 0xB1B0AFBA checksum audit (Fixture B)

SFNT Table Checksum & 0xB1B0AFBA Integrity Report

Audit every 16-byte SFNT table directory record, 4-byte boundary alignment, required OpenType tables, and global 0xB1B0AFBA head checksum adjustment.

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-sans.woff (1.3 KB)

Verified Sample Result & Instant Demo

Try Sample File in 1 Click

Does the SFNT binary recovered from proof-sans.woff pass all 10 individual table checksums plus the modulo-2^32 0xB1B0AFBA whole-file invariant?

Whole-File Uint32 Sum
0xb1b0afbahex
Global Invariant Verdict
truebool
Verified Tables
10tables
Cryptographic SHA-256 & Engine Provenance
Sample Input File
proof-sans.woff · 1324 bytes · OFL-1.1
Browser Codec Engine
fflate WOFF1 SFNT Codec 0.8.3
Input SHA-256 Digest
62ea0143102e8dcdf8131c55898f30c4d60c4336e8fb70bd7f02d130231c3041
Engine Artifact SHA-256
b7ca4450b19559a1d50eb381adcee94b82449674be4cd17789d9beba7e6122a1
Reference Verification
fontTools 4.64.0
Schema & Preset ID
fonts.wofftottf.font-checksum-report.v1 · validate-sfnt-checksums · full-sfnt-checksum-audit

How Modulo-2^32 SFNT Table Checksums and 0xB1B0AFBA Work

Computing Per-Table Sums and head.checkSumAdjustment

Every table record in an OpenType or TrueType font stores a 32-bit unsigned big-endian checkSum calculated by summing sequential 32-bit big-endian words across the zero-padded table bytes modulo 2^32. One special exception applies to the head table: bytes 8..11 store checkSumAdjustment, which must be masked to 0x00000000 while computing head’s own directory checksum.

Once the Offset Table, sorted Table Directory, and all padded tables are assembled, the encoder sums every 32-bit word of the entire file (again with head[8..11] zeroed) and writes (0xB1B0AFBA - wholeFontSum) mod 2^32 into head.checkSumAdjustment. Consequently, summing a valid desktop font file from byte 0 to EOF yields exactly 0xB1B0AFBA.

  • Audits required core tables (cmap, head, hhea, hmtx, maxp, name, OS/2, post) plus outline tables.
  • Flags out-of-bounds offsets or overlapping table slices before desktop installation.
  • Displays side-by-side declared vs recomputed hex checksums for every table.
  • Exports normalized SFNT binaries when unpacking compressed WOFF or WOFF2 sources.

Common Questions & Answers

Why does the OpenType specification use the magic constant 0xB1B0AFBA?

0xB1B0AFBA was chosen by Apple and Microsoft engineers in the original TrueType 1.0 specification as a non-zero whole-file checksum target that immediately catches all-zero or truncated files.

Why do raw WOFF2 decompressor outputs often fail global checksum checks unless normalized?

Reconstructing transformed glyf and loca tables alters table byte offsets in the SFNT directory; recalculating head.checkSumAdjustment restores strict 0xB1B0AFBA compliance.

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.