Desktop & SFNT Formats
TrueType Font
TTF (TrueType / SFNT) stores outlines as quadratic B-spline curves with optional grid-fitting bytecode hinting, making it universally installable across desktop OSes, apps, and games.
Strengths
- Installed natively on Windows, macOS, Linux, iOS, and Android without conversion
- Ideal source format for Unity TextMeshPro SDF atlases, Godot, Office suites, and video editors
- Supports full OpenType GSUB/GPOS layout tables and variable font fvar/gvar tables
Trade-offs
- Uncompressed SFNT binary is 2x larger than WOFF2 for web delivery
- Bytecode hinting tables (fpgm/prep/cvt) bloat file size on HiDPI/Retina displays
- Full CJK TTF files reach 8–25 MB before subsetting or unicode-range splitting
Convert & optimize TTF locally
Related engineering guides
All 18 guidesWOFF2 vs TTF vs OTF: Which Font Format Should You Ship in 2026?
Compare WOFF2, WOFF 1.0, TTF, and OTF compression, Bézier curves, and browser support—plus why shipping raw TTF costs 2x more font bandwidth.
How to Shrink 15 MB CJK Fonts to 60 KB via Subsetting & unicode-range Splitting
Cut 15–25 MB Chinese, Japanese, and Korean fonts down to 58 KB subsets or auto-split into CSS unicode-range WOFF2 chunks locally without 5 MB caps.
Zero Layout Shift Web Fonts: Calculating size-adjust & ascent-override
Eliminate Cumulative Layout Shift (CLS) on web font swap using exact OS/2 vs hhea formulas for size-adjust, ascent-override, and descent-override.
Self-Hosting Google Fonts for GDPR Compliance & Zero Third-Party Requests
Eliminate external fonts.googleapis.com requests for European GDPR compliance by packing local WOFF2 fonts, @font-face CSS, and CLS fallbacks.
How to Unpack PingFang.ttc, Noto OTC & macOS .dfont Collections to TTF/WOFF2
Extract individual Regular, Medium, and Bold weights from .ttc, .otc Super Collections, and macOS .dfont fonts directly in browser memory.
Variable Fonts: Static Weight Instancing vs. Trimming Axis Ranges
Use HarfBuzz WASM in your browser to pin Variable Font axes (wght/wdth) into lightweight static weights or trim axis spans without Python fonttools.
- Removing Font Hinting (fpgm/prep/cvt): Saving 8–15% Bytes on Retina ScreensStrip legacy TrueType bytecode hinting tables (fpgm, prep, cvt) with HarfBuzz WASM to save 8%–15% WOFF2 bytes for macOS, iOS, and modern HiDPI screens.
- Build a Custom SVG-to-WOFF2 IconFont in Your Browser Without Node CLIBundle monochrome SVG UI icons into a lightweight WOFF2 + TTF IconFont with CSS classes and demo.html locally — zero Node tools or cloud uploads.
- Optimizing & Subsetting Fonts for Kindle, Kobo & EPUB 3 E-BooksShrink bloated 15 MB CJK or literary fonts into compact TTF/WOFF files for Kindle and EPUB 3 packages without breaking punctuation or italics.
- Subsetting CJK Fonts for Unity TextMeshPro & Godot Game BuildsExtract exact localized glyphs from CSV/JSON game dialogue scripts and subset 18 MB CJK TTFs into lean TextMeshPro and Godot assets locally.
- Commercial Font EULAs & Zero-Upload Browser WASM: Keeping Paid Typefaces PrivateWhy uploading paid commercial .otf/.ttf fonts to cloud converters risks EULA violations—and how browser WASM keeps files 100% on your machine.
- Converting WOFF2 & WOFF Back to TTF/OTF for Desktop, Figma & CanvaDecode .woff2 and .woff web fonts back into installable .ttf or .otf desktop files for macOS, Windows, Figma, and Canva locally without uploads.
- Fixing Missing Glyphs & Tofu Boxes: cmap Coverage and CSS FallbacksDebug missing glyph tofu boxes (.notdef), audit cmap table coverage before subsetting, keep punctuation intact, and build safe CSS fallback stacks.
- Renaming Font Families: OpenType name Table IDs & Checksum HygieneEdit OpenType nameID 1, 2, 4, 6, 16, and 17 metadata locally to fix Windows and macOS weight conflicts and update head checksums cleanly.
- Converting Font Text to SVG Paths for Logos, OG Graphics & IconFontsConvert headlines, wordmarks, and glyphs into crisp SVG path outlines in your browser—no font installation needed for Figma, Canva, or IconFonts.
- Base64 Inline WOFF2 vs. External Font Files: When Data URIs Make SenseWeigh Base64 Data URI fonts (+33% overhead and CSSOM blocking) against external WOFF2 files—and learn when inline subsetting actually wins.
TTF frequently asked questions
Why should I avoid serving raw .ttf files on websites?
Uncompressed TTF is roughly twice the size of WOFF2, slowing Largest Contentful Paint (LCP). Converting TTF to WOFF2 saves 45%–55% immediately.
Can a TTF file contain OpenType kerning and ligatures?
Yes. Modern TTF files use the SFNT OpenType container and routinely include GSUB/GPOS kerning, ligatures, and variable axes.
How do I install a downloaded WOFF2 web font on macOS or Windows?
Use FontTo's WOFF2 to TTF converter locally in your browser to decode .woff2 back into an installable .ttf font.