Sub topic 7
Embedding fonts and handling missing ones
This chapter assumes you can export a PDF from a layout application and open a terminal. You should also know the difference between a font family and a font file.
Why embedding matters
A PDF/X file must carry every font it uses. When a font is embedded, the PDF holds the outlines of the glyphs the document needs. The printer's system then draws your text exactly as you set it. If a font is not embedded, the printer's system substitutes another one. Line breaks shift, text reflows, and a headline can change weight or width.
PDF/X-1a, X-3 and X-4 all require embedded fonts. A file with a missing font is not a valid PDF/X file, and a preflight check will flag it.
Subsets and full embedding
Most exporters embed a subset. A subset contains only the glyphs the document uses, which keeps the file small. Layout applications usually let you set a threshold. If a document uses less than a given percentage of a font's glyphs, the exporter subsets it. Above that, it embeds the whole font.
For print, subsetting is normally safe. Embed the full font only if the printer plans to edit the text.
Common causes of missing fonts
- A font was available on your machine when you designed, but you removed or deactivated it before export.
- Text sits in a placed PDF or EPS file that did not embed its fonts.
- A font appears in a hidden layer, an empty text frame, or on the pasteboard, and still counts as used.
- The font is a bitmap or restricted-license font that cannot be embedded.
Checking fonts with pdffonts
The pdffonts tool lists every font in a PDF. The emb column shows yes when the font is embedded.
pdffonts job.pdfTypical output looks like this:
name type encoding emb sub uni object ID
------------------------- ------------- ---------- --- --- --- ---------
ABCDEF+SourceSerif4-Bold CID TrueType Identity-H yes yes yes 12 0
GHIJKL+Inter-Regular Type 1C Custom yes yes yes 18 0
Helvetica Type 1 WinAnsi no no no 24 0The prefix of six capital letters followed by a plus sign marks a subset. The last row, Helvetica, has emb set to no. The printer's system may substitute it.
Fixing missing fonts
- Open the layout file and use the application's font-finding feature, such as Find Font in InDesign, to list every font used, including those in placed files.
- Replace or activate each missing font. Install the font from your licensed copy, or choose a different font and check the layout.
- If a placed PDF or EPS lacks fonts, ask for a new export from its source.
- Re-export and run
pdffontsagain. Every row should showyesunderemb.
Converting text to outlines
Converting text to outlines turns glyphs into vector shapes. No font is needed afterward. This is a last resort for restricted fonts or small logos.
It has costs. The text can no longer be edited. Very small outlined text can look heavier than live text, because the font's hinting and optical adjustments are lost. Do not outline body text. Keep a copy of the editable file.
Common mistakes
- Trusting the exporter's "no warnings" message instead of checking the finished PDF.
- Checking fonts only in the layout file, not in the exported PDF.
- Forgetting fonts inside placed vector artwork.
Exercise
Running pdffonts on your exported file shows one row where emb is "no". The text using that font is in a logo placed as a PDF. What should you do first?
Show answer
Ask for, or create, a new export of the logo from its source with fonts embedded (or outlined in the logo file), replace the placed file, re-export your job, and run pdffonts again to confirm every row shows "yes".
Exercise
What does the prefix "ABCDEF+" before a font name in the pdffonts output tell you?
Show answer
The font is embedded as a subset, meaning the PDF holds only the glyphs the document uses.