Module 3 · Type, which is also vector

What is actually inside a font file

In this lesson

  • 9 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 2 of 9 in this chapter

This chapter’s goalSet, space and convert type in a vector file without breaking it: choose a typeface you are licensed to use for the job in hand, correct spacing at the pair and the paragraph level, handle a complex script correctly, and decide per job whether to outline, embed or subset, stating the consequence of each to the printer.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
The tables inside a font fileglyf or CFFThe outlines. TrueType quadratic, CFF cubiccmapCharacter code to glyph. Without it nobody can typeithmtxAdvance widths: how far the pen moves each timekern or GPOSAdjustment between one specific pair and the nextGSUBLigatures, small caps, and every conjunctOS/2fsType, the bit deciding whether it may embed at allnameThe family name the print shop’s font list will showA font is a database with drawings in one of its tables. Two command lines read all of this: ttx liststhe tables and prints the name and OS/2 entries, and pdffonts tells you which of them made it into aPDF you have already exported.
A font is a database with drawings in one of its tables. Two command lines read all of this: ttx lists the tables and prints the name and OS/2 entries, and pdffonts tells you which of them made it into a PDF you have already exported.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

A font is a database with drawings in it

A .ttf or .otf file is a container of tables. Five of them decide everything you experience.

  • glyf or CFF : the outlines. TrueType (glyf) stores quadratic Béziers: one handle per segment. PostScript/OpenType-CFF stores cubic Béziers: two handles, the same curves your drawing program uses.
  • cmap: the map from character codes to glyphs. U+0041 → glyph 36. Without this, the font has shapes but nobody can type them.
  • hmtx: advance widths. How far the pen moves after each glyph.
  • kern or GPOS: the adjustments between specific pairs.
  • GSUB: substitutions: ligatures, small caps, alternates, and all the conjunct machinery that complex scripts depend on.

Plus OS/2, which carries the licensing flags, and name, which carries the family and style names the print shop will see in a font list.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Editing an Image exam.

Stuck on something?Ask Nazia, your AI tutor

How to cite: Addaly (2026) ‘What is actually inside a font file’, in Vectors, Logos and Things That Get Printed. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/vector-and-print/what-is-inside-a-font-file (Accessed: 29 November 2026).