TrueType Font (TTF) Format
Complete guide to the TrueType font specification and usage
In Simple Terms
TTF (TrueType Font) is a desktop font format created by Apple in 1991. Best for desktop apps (Word, Photoshop) and mobile apps—not ideal for web.For web use, always convert TTF to WOFF2 (60-70% smaller file size). TTF files are 2-3x larger and uncompressed.TTF works on all platforms (Windows, macOS, Linux, iOS, Android) and is the most widely compatible font format for desktop applications.
TTF Format at a Glance
Developer
Apple Inc. (1980s), later co-developed with Microsoft
File Extension
.ttf
MIME Type
font/ttf, application/x-font-ttf
Type
Outline font format
Platform Support
Cross-platform (Windows, macOS, Linux, iOS, Android)
Primary Use
Desktop applications, mobile devices, and web (with limitations)
Choose your target format below
All conversions preserve font quality and metadata
In this article
What is TrueType Font (TTF)?
TrueType is an outline font standard originally developed by Apple Computer in the late 1980s as a competitor to Adobe's Type 1 fonts. The format was later licensed to Microsoft, and both companies have continued to develop and refine the specification. TrueType became one of the most common font formats due to its excellent cross-platform compatibility and widespread adoption in operating systems.
History and Development
Apple developed TrueType in response to the licensing fees charged by Adobe for PostScript Type 1 fonts. The format was first released in 1991 with System 7 on Macintosh. Microsoft adopted TrueType for Windows 3.1 in 1992, and the format quickly became the standard font technology for both platforms.
- 1991: Initial release by Apple in Mac System 7
- 1992: Microsoft implements TrueType in Windows 3.1
- 1994: TrueType GX (advanced typography) introduced by Apple
- 1996: OpenType development begins (extending TrueType)
Core Characteristics
TrueType fonts store glyph outlines as quadratic Bézier curves, which are mathematically simpler than the cubic curves used in PostScript fonts. This design choice made TrueType fonts:
- Faster to rasterize (convert to pixels)
- Easier to implement in hardware and software
- More efficient for real-time display
- Suitable for lower-powered devices
The format includes sophisticated hinting capabilities that allow type designers to optimize font rendering at small sizes and low resolutions, ensuring legibility across different display devices.
Format History
The TrueType font format emerged from one of technology's most significant corporate rivalries and reshaped digital typography for decades. Its development story intertwines business strategy, technical innovation, and the democratization of professional-quality fonts across consumer computing platforms.
The Adobe Type 1 Problem (1985-1989)
By the late 1980s, Adobe's PostScript Type 1 fonts dominated professional publishing, but their licensing model created friction with platform vendors:
Why Apple and Microsoft Needed an Alternative
- Licensing fees: Adobe charged for Type 1 font specification access and runtime technology
- ATM requirement: Adobe Type Manager needed for screen display, adding cost and complexity
- Proprietary control: Adobe kept Type 1 specification secret until 1990
- PostScript printers: High-quality output required expensive PostScript-compatible printers
- Platform vendor frustration: Apple and Microsoft wanted font technology they controlled
Apple, having pioneered desktop publishing with the LaserWriter and PostScript partnership, found itself dependent on Adobe technology for a core OS feature. This dependence became strategically untenable as Adobe emerged as both partner and competitor.
Apple's TrueType Development (1987-1991)
Apple began developing TrueType in 1987 under the leadership of Sampo Kaasila and other engineers. The project aimed to create a font technology that was:
- Free from Adobe licensing restrictions
- Built into the operating system (no ATM needed)
- Optimized for screen display at low resolutions
- Computationally efficient for consumer hardware
- Capable of professional-quality print output
| Year | Development Milestone | Significance |
|---|---|---|
| 1987-1989 | TrueType specification development | Quadratic B-splines chosen for efficiency |
| 1989 | Apple licenses TrueType to Microsoft | Strategic partnership against Adobe |
| 1991 | Mac System 7.0 ships with TrueType | First public release of TrueType |
| 1992 | Windows 3.1 includes TrueType support | Cross-platform adoption begins |
Technical Choices: Quadratic vs. Cubic Curves
TrueType's use of quadratic B-splines instead of Type 1's cubic Bézier curves was a deliberate engineering decision:
Quadratic Curves (TrueType)
- Simpler mathematics (degree 2 vs. degree 3)
- Faster rasterization on 1980s hardware
- Easier to implement in silicon (printers)
- More efficient for real-time display
- May require more points for complex curves
Cubic Curves (Type 1)
- More mathematically expressive
- Fewer points needed for smooth curves
- Preferred by type designers
- Higher computational cost
- Better for complex letterforms
Apple prioritized performance and implementation simplicity, making TrueType ideal for mass-market computers and printers. This pragmatic choice enabled TrueType's rapid adoption in consumer devices.
The Apple-Microsoft Alliance (1989-1992)
In 1989, Apple made a strategic decision to license TrueType to Microsoft, creating a unified front against Adobe:
Strategic Partnership Outcomes
- Cross-platform standard: TrueType worked identically on Mac and Windows
- Shared development: Both companies contributed to specification improvements
- Market pressure on Adobe: Forced Adobe to publish Type 1 spec (1990)
- OS integration: Built-in support eliminated third-party runtime costs
- Font vendor support: Major foundries began producing TrueType fonts
Windows 3.1's inclusion of TrueType in 1992 was transformative. Microsoft bundled TrueType versions of common fonts (Arial, Times New Roman, Courier New), making professional-quality scalable fonts available to millions of users without additional cost.
Market Adoption and the Font Wars (1991-1996)
The early 1990s saw intense competition between TrueType and Type 1:
| Market Segment | TrueType | Type 1 |
|---|---|---|
| Consumer market | Dominant (bundled with OS) | Limited (ATM cost barrier) |
| Professional publishing | Growing acceptance | Entrenched standard |
| Type designers | Mixed reception | Preferred (cubic curves) |
| Software vendors | Widely adopted | Maintained support |
TrueType GX and Apple Advanced Typography (1994-2000)
Apple attempted to extend TrueType with advanced features in 1994:
- TrueType GX: Added font variations, contextual substitutions, ligatures
- Morphing technology: Interpolation between font weights and widths
- Advanced layout: Sophisticated text shaping capabilities
- Limited adoption: Mac-only, poor developer support
- Renamed AAT (2000): Apple Advanced Typography, still Mac-only
TrueType GX/AAT was ahead of its time but failed commercially due to platform lock-in and limited software support. Many of its concepts later appeared in OpenType and variable fonts.
The OpenType Revolution (1996-2000)
Recognizing that font format fragmentation hurt the industry, Microsoft and Adobe began collaborating on OpenType in 1996:
From Competition to Collaboration
OpenType's design philosophy:
- Unified format: Single container for both TrueType and PostScript outlines
- Extended tables: GSUB (glyph substitution) and GPOS (positioning)
- Cross-platform: Identical behavior on Mac and Windows
- Unicode support: 65,536+ glyphs, multilingual text
- Advanced typography: Ligatures, alternates, small caps, and more
- Backward compatible: OpenType with TrueType outlines = enhanced TTF
| Year | OpenType Milestone | TrueType Impact |
|---|---|---|
| 1996 | OpenType announced | TrueType positioned as subset of OpenType |
| 1997 | OpenType 1.0 specification released | TTF outlines officially supported |
| 2000 | Windows 2000 includes OpenType | .ttf becomes OpenType variant |
| 2001 | Adobe begins library conversion | TrueType accepted in professional workflows |
TrueType in the Modern Era (2000-Present)
TrueType transitioned from standalone format to foundational technology:
- 2000s: Most "TTF" fonts actually OpenType with TrueType outlines
- 2009: WOFF standard wraps TrueType/OpenType for web delivery
- 2010: Google Fonts launches, serving primarily TrueType-based web fonts
- 2016: Variable fonts extend TrueType with 'gvar' table (interpolation)
- 2018: WOFF2 becomes standard, compressing TrueType 30-50% more
- 2020s: TrueType remains dominant on mobile (iOS, Android)
TrueType's Enduring Success
Several factors explain TrueType's longevity:
Technical Advantages
- Computational efficiency for real-time rendering
- Excellent screen display with hinting
- Simpler implementation for device manufacturers
- Good compression characteristics
- Extensible through OpenType tables
Market Advantages
- Built into Windows and macOS
- Massive installed base of fonts
- Open specification, no licensing barriers
- Universal tool support
- Strong ecosystem of free fonts
Historical Perspective
TrueType's story demonstrates how open standards and cross-platform collaboration can succeed against entrenched proprietary technologies. Apple's decision to license TrueType to Microsoft—giving up exclusivity for market adoption—proved prescient. Today, TrueType-based fonts power billions of devices, from smartphones to desktop computers to embedded systems. While PostScript Type 1 reached end-of-life in 2023, TrueType thrives as the foundation of modern font technology, whether as standalone TTF files or wrapped in OpenType and WOFF2 containers.
The format's evolution from proprietary alternative to universal standard illustrates the power of strategic alliances, technical pragmatism, and open specifications in shaping technology ecosystems. TrueType didn't just compete with Type 1—it ultimately absorbed it through OpenType, creating a unified future for digital typography.
Technical Specifications
Outline Technology
TrueType uses quadratic B-splines (second-degree Bézier curves) to define character outlines. Each curve is defined by three points: two endpoints and one control point, making the mathematics simpler than cubic curves.
Mathematical Foundation
Quadratic Bézier curve formula:
- B(t) = (1-t)²P₀ + 2(1-t)tP₁ + t²P₂
- Where:
- • P₀ and P₂ are endpoints
- • P₁ is the control point
- • t ranges from 0 to 1
Hinting System
TrueType includes a comprehensive hinting system using a stack-based virtual machine with over 200 instructions. This allows:
- Grid-fitting: Aligning points to pixel boundaries
- Delta hints: Adjustments for specific point sizes
- Control value table: Global font metrics
- Function definitions: Reusable hint programs
Encoding and Character Sets
TrueType fonts support multiple character encoding schemes through the 'cmap' table:
| Platform ID | Encoding | Usage |
|---|---|---|
| 0 | Unicode | Cross-platform standard |
| 1 | Macintosh | Legacy Mac OS |
| 3 | Windows | Windows platform |
Modern TrueType fonts typically include Unicode encoding (Platform 0) to ensure maximum compatibility across platforms and languages.
TTF Font File Structure
A TrueType font file is structured as a collection of tables, each serving a specific purpose. The file begins with a directory that indexes all tables within the font.
Required Tables
| Table Tag | Name | Purpose |
|---|---|---|
| cmap | Character to Glyph Index Mapping | Maps character codes to glyph indices |
| glyf | Glyph Data | Contains glyph outline definitions |
| head | Font Header | Global font information |
| hhea | Horizontal Header | Horizontal metrics information |
| hmtx | Horizontal Metrics | Glyph width and left side bearing |
| loca | Index to Location | Offset of each glyph in glyf table |
| maxp | Maximum Profile | Memory requirements |
| name | Naming Table | Font name and copyright information |
| post | PostScript | PostScript compatibility data |
Optional Tables
Additional tables provide extended functionality:
- cvt - Control Value Table for hinting
- fpgm - Font Program (hint instructions)
- prep - Control Value Program
- gasp - Grid-fitting and Scan-conversion Procedure
- kern - Kerning pairs
- OS/2 - OS/2 and Windows specific metrics
- GSUB - Glyph Substitution (OpenType extension)
- GPOS - Glyph Positioning (OpenType extension)
File Structure Example
Offset Directory (12 bytes)
├── Scaler type (4 bytes)
├── Number of tables (2 bytes)
├── Search range (2 bytes)
├── Entry selector (2 bytes)
└── Range shift (2 bytes)
Table Directory (16 bytes per table)
├── Tag (4 bytes)
├── Checksum (4 bytes)
├── Offset (4 bytes)
└── Length (4 bytes)
Table Data
├── cmap table
├── glyf table
├── head table
└── ... (other tables)Usage and Applications
Desktop Publishing
TrueType fonts are extensively used in desktop applications:
- Word processors (Microsoft Word, LibreOffice Writer)
- Graphic design software (Adobe Creative Suite, Affinity Designer)
- Presentation software (PowerPoint, Keynote)
- Desktop publishing (InDesign, QuarkXPress)
Operating Systems
TTF is natively supported by all major operating systems:
- Windows: Default font format since Windows 3.1
- macOS: Full support alongside OpenType
- Linux: Supported through FreeType rendering engine
- iOS/Android: Native mobile device support
Web Typography
While WOFF and WOFF2 are preferred for web use, TTF can be used with proper MIME type configuration:
CSS @font-face Example
@font-face {
font-family: 'MyFont';
src: url('myfont.woff2') format('woff2'),
url('myfont.woff') format('woff'),
url('myfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}Note: TTF is typically the fallback format for older browsers that don't support WOFF/WOFF2.
Embedded Systems
TrueType's efficiency makes it suitable for embedded devices:
- E-readers and digital displays
- Printers and printing systems
- GPS navigation systems
- Gaming consoles
- Smart TVs and set-top boxes
Advantages and Disadvantages
Advantages
- Universal compatibility: Supported on virtually all platforms and devices
- High-quality rendering: Excellent screen and print output with proper hinting
- Single file format: One file contains all font data (no separate metrics file needed)
- Efficient processing: Quadratic curves are computationally simpler than cubic
- Good for screen display: Sophisticated hinting system optimizes low-resolution rendering
- Widely available: Extensive library of free and commercial TrueType fonts
- No licensing issues: Format specification is open and freely implementable
Disadvantages
- Limited typographic features: Lacks advanced OpenType features (ligatures, alternates)
- Hinting complexity: Creating good hints requires expertise and time
- File size: Uncompressed format results in larger files than WOFF/WOFF2
- Curve precision: Quadratic curves may require more points for complex shapes
- Web performance: Not optimized for web delivery (use WOFF2 instead)
- Limited color support: No native support for color fonts (unlike SVG or COLR)
- Variable font limitations: Requires OpenType extensions for variable font technology
Best Practice Recommendation
For web projects, convert TTF fonts to WOFF2 for optimal performance. For desktop applications and print, TTF remains an excellent choice due to its universal compatibility and mature tooling ecosystem.
TTF vs Other Font Formats
Understanding how TrueType compares to other font formats helps you choose the right format for your project:
| Format | Curve Type | File Size | Best Use Case |
|---|---|---|---|
| TTF | Quadratic B-splines | Medium | Desktop, mobile, print |
| OTF | Cubic Bézier (CFF) | Small-Medium | Professional publishing, print |
| WOFF | TTF or OTF compressed | Small | Web (older browsers) |
| WOFF2 | TTF or OTF compressed | Very Small | Modern web (preferred) |
| EOT | TTF compressed | Small | Legacy IE support only |
| SVG | Vector paths | Large | Color fonts, legacy iOS |
TTF vs OpenType (OTF)
OpenType is an extension of TrueType developed jointly by Adobe and Microsoft. While OpenType fonts can use either TrueType outlines (.ttf) or PostScript outlines (.otf), there are key differences:
- Typography features: OpenType supports advanced features like ligatures, contextual alternates, and small caps
- Glyph limits: OpenType supports 65,536+ glyphs vs TrueType's practical limit of ~6,000
- Cross-platform tables: OpenType includes unified platform-independent tables
- Variable fonts: OpenType 1.8+ supports variable font technology
For detailed comparisons, see our TTF vs OTF comparison or TTF vs WOFF2 comparison.
Working with TTF Files
Installing TTF Fonts
Installation varies by operating system:
Windows
- Right-click the .ttf file and select "Install" or "Install for all users"
- Or copy to
C:\Windows\Fonts\ - Or use Settings → Personalization → Fonts
macOS
- Double-click the .ttf file to open Font Book
- Click "Install Font" button
- Or manually copy to
~/Library/Fonts/
Linux
- Copy to
~/.fonts/or/usr/share/fonts/ - Run
fc-cache -f -vto rebuild font cache - Or use your distribution's font manager
Creating and Editing TTF Fonts
Several tools are available for creating and modifying TrueType fonts:
- FontForge: Free, open-source font editor with comprehensive TTF support
- Glyphs: Professional Mac font editor with excellent TrueType workflow
- FontLab: Industry-standard commercial font editor
- FontCreator: Windows-focused commercial font editor
- fonttools: Python library for programmatic font manipulation
Converting TTF Fonts
Common conversion scenarios and tools:
Command-Line Conversion Examples
# TTF to WOFF2 (web optimization)
woff2_compress myfont.ttf
# TTF to OTF (using fonttools)
ttx -f myfont.ttf
# Edit the .ttx XML as needed
ttx -f -o myfont.otf myfont.ttx
# Extract font information
ttx -t name myfont.ttf
# Validate TTF file
ftxvalidator myfont.ttfFor easy conversions, use our Font Converter Tool which supports batch processing and multiple output formats.
Subsetting TTF Fonts
Subsetting removes unused glyphs to reduce file size, particularly useful for web fonts:
Using pyftsubset (fonttools)
# Basic Latin characters only
pyftsubset myfont.ttf --unicodes="U+0020-007F" \
--output-file="myfont-latin.ttf"
# Specific glyphs
pyftsubset myfont.ttf --text="Hello World" \
--output-file="myfont-subset.ttf"
# Latin + common punctuation
pyftsubset myfont.ttf --unicodes="U+0020-007F,U+00A0-00FF" \
--layout-features="*" \
--output-file="myfont-extended.ttf"Frequently Asked Questions
Is TTF the same as TrueType?
Yes, TTF is the file extension for TrueType fonts. The terms are used interchangeably—TrueType is the font technology name, while .ttf is the file format extension.
Can I use TTF fonts on websites?
Yes, but it's not recommended. While TTF fonts work in web browsers, they're not optimized for web delivery. For better performance, convert your TTF fonts to WOFF2 format, which offers superior compression (typically 30-50% smaller file sizes) and is supported by all modern browsers.
What's the difference between TTF and OTF?
The main differences are:
- Outline technology: TTF uses quadratic curves; OTF typically uses cubic curves
- Features: OTF supports advanced typographic features (ligatures, alternates, small caps)
- Glyph capacity: OTF can store many more glyphs
- Use case: TTF is universal and efficient; OTF is preferred for professional typography
Are TTF fonts free to use?
The TTF format itself is free to use, but individual fonts have their own licenses. Some TTF fonts are free (open source or public domain), while others are commercial and require a license. Always check the font's license file or documentation before using it in your projects, especially for commercial work.
How do I embed TTF fonts in a PDF?
Most PDF creation software automatically embeds TTF fonts. Ensure your software settings have "Embed fonts" enabled. In Adobe Acrobat, check File → Properties → Fonts to verify which fonts are embedded. Font embedding ensures your document displays correctly on systems that don't have your fonts installed.
Can I convert TTF to OTF without losing quality?
Yes, you can convert TTF to OTF without visual quality loss. The conversion process wraps TrueType outlines in an OpenType container, preserving the original glyph data. However, you won't gain OpenType's advanced features (like contextual alternates) without manually adding them. Use professional tools like FontForge or fonttools for reliable conversion.
Ready to Work with TTF Fonts?
Convert any font format to TrueType (TTF) with our free online converter
Related Resources
Related Font Formats

Written & Verified by
Sarah Mitchell
Product Designer, Font Specialist
