File Formats
  • Audio
  • Video
  • Images
  • 3D & CAD
  • Documents
  • Data
  • Code
  • System
Documents
  • Page description
  • Word processing
  • Spreadsheets
  • Presentations
  • Ebooks
  • Text & markup
  • Fonts
  1. Home
  2. Documents
  3. Fonts
  4. TTF
.TTF
  • Overview

.TTF

TrueType Font

Introduction

TrueType is a font format that Apple developed and released in 1991; Microsoft adopted it for Windows soon after. It describes each character’s outline with quadratic curves, and carries instructions that adjust the outlines to the pixel grid at small sizes. TrueType fonts work on every desktop operating system and in web browsers.

The same table-based container later became the basis of OpenType. A TrueType collection, .ttc, packs several fonts into one file.

Software

  • Windows font viewer and Fonts settings (Windows, built in)
  • Font Book (macOS, built in)
  • FontForge (Windows, macOS, Linux)
  • Glyphs (macOS)
  • FontLab (Windows, macOS)
  • fontTools (Python library)

Structure

A TrueType font is a directory of tables, all big-endian. The file starts with an offset table: the version 00 01 00 00 (Apple fonts may use true), the number of tables and three values for binary searching. A 16-byte record for each table follows, giving its four-letter tag, checksum, offset and length. The tables themselves come after, in any order.

  1. 0Offset table version, number of tables, search values12 bytes
  2. 12Table records tag, checksum, offset, length16 bytes each
  3. …Tables each at its recorded offsetvaries
    1. …head, hhea, maxp global metrics and limitsvaries
    2. …cmap maps characters to glyphsvaries
    3. …loca, glyf where each outline is, and the outlinesvaries
    4. …hmtx, name, post, OS/2 widths, names and morevaries
The table directory of a TrueType font and its main tables.
© 2026 fileformats.org About Contact Made by Lewpen