Engineering Guides

Renaming Font Families: OpenType name Table IDs & Checksum Hygiene

Edit OpenType nameID 1, 2, 4, 6, 16, and 17 metadata locally to fix Windows and macOS weight conflicts and update head checksums cleanly.

4 min readUpdated:

Quick Answer

Fixing conflicting font names across macOS, Windows, and CSS requires updating the OpenType name table coherently across legacy RIBBI records (nameID 1, 2, 4, 6) and typographic family records (nameID 16, 17), then recalculating table checksums and head.checkSumAdjustment. FontTo rewrites those fields locally in browser RAM so OS installers and browser OTS validators accept the renamed font cleanly.

How OpenType nameID 1, 2, 4, 6, 16, and 17 govern family grouping

Operating systems and design apps read different subsets of the OpenType name table. Legacy Windows GDI applications group at most four RIBBI styles (Regular, Italic, Bold, Bold Italic) via nameID 1 and 2, whereas macOS CoreText, Figma, and CSS typography prefer full family grouping via nameID 16 and 17.

Whenever nameID 1, 4, 5, 6, 16, and 17 drift out of sync, installing two weights side-by-side causes one weight to overwrite the other or split into separate dropdown families.

Name IDOpenType FieldExample (Medium)Primary Consumer
1Font FamilyBrandSans MediumWindows GDI / Word 4-style group
2Font SubfamilyRegularRIBBI style slot (Regular/Bold/Italic)
4Full Font NameBrandSans MediumOS previews & Font Book title
6PostScript NameBrandSans-MediumPDFs, PostScript, unique OS key (no spaces)
16Typographic FamilyBrandSansFigma, Illustrator, macOS, modern CSS
17Typographic SubfamilyMediumExtended weight/width menu label

Preventing name clashes after pinning Variable Fonts

When you flatten a Variable Font into static weights (such as 400 Regular, 500 Medium, and 700 Bold) for desktop apps or legacy engines, each exported file needs unique nameID 4 and PostScript nameID 6 strings plus matching version (nameID 5) and subfamily labels so Figma and Windows do not treat them as duplicates.

  • Keep nameID 6 strictly printable ASCII with zero spaces (e.g. AcmeSans-SemiBold) under 63 characters.
  • Use nameID 16 for the unified family name across every weight while placing the specific weight in nameID 17.
  • Rename custom subsetted or internal builds with a clear suffix (e.g. BrandSans Web) so they never shadow local designer installs.

Why head.checkSumAdjustment matters after metadata edits

Patching strings in a raw hex editor shifts table lengths and breaks the SFNT TableRecord checksums plus head.checkSumAdjustment (defined as 0xB1B0AFBA minus the 32-bit unsigned sum of the entire font). Browser OpenType Sanitizer (OTS) and OS font validators reject fonts with stale checksums.

  • Rebuilding the name table cleanly updates every SFNT directory offset on 4-byte boundaries.
  • Recalculating head.checkSumAdjustment guarantees Chrome, Safari, Firefox, and Windows DirectWrite accept the output.
  • Inspect the updated name records, OS/2 weight class, and table directory locally before distributing.

Frequently asked questions

Why do Medium and SemiBold fonts sometimes split into separate families on Windows?

Older Windows GDI apps only group Regular, Italic, Bold, and Bold Italic under nameID 1 and 2, so Medium needs a family suffix in nameID 1 while sharing the unified family name in nameID 16.

What characters are allowed in nameID 6 (PostScript Name)?

PostScript names must contain printable ASCII characters with no spaces, brackets, or slashes—commonly formatted as FamilyName-WeightItalic under 63 characters.

Does FontTo recalculate SFNT checksums automatically when I rename a font?

Yes. Font Metadata Editor rebuilds the name table cleanly and updates SFNT offsets and head.checkSumAdjustment so OS installers and browser OTS pass without errors.

Authoritative References

Tools used in this guide

Related formats

Related Comparisons

More engineering guides