orizpdf-tools

tools blog pdf tips

5 min read by Chirag Singhal


Have you ever opened a PDF only to find the text garbled, misaligned, or displayed in an unexpected font? This frustrating experience is almost always caused by font issues. Understanding how PDF fonts work—including embedding, substitution, and encoding—is essential for creating reliable, professional documents that look the same on every device.

17K+
Unicode characters possible
14
Standard PDF fonts
30%
PDFs have font issues
4
Font types used in PDFs

How Fonts Work in PDF

To understand PDF font issues, you need to understand how fonts are handled differently in documents versus PDFs. When you create a document in Word or Google Docs, the application references fonts installed on your computer. When you save or export that document as a PDF, one of two things happens: the fonts are embedded (copied into the PDF file), or the PDF simply records which font names were used.

If fonts are embedded, the PDF will look correct on any device because all the font data needed to render the text is included in the file. If fonts are not embedded, the PDF viewer must find a matching font on the local system, and if it can’t, font substitution occurs—potentially changing the document’s appearance.

The Standard PDF Fonts

The PDF specification defines 14 standard fonts that all PDF viewers must support natively. These fonts are always available without embedding:

Serif fonts: Times-Roman, Times-Bold, Times-Italic, Times-BoldItalic

Sans-serif fonts: Helvetica, Helvetica-Bold, Helvetica-Oblique, Helvetica-BoldOblique

Monospace fonts: Courier, Courier-Bold, Courier-Oblique, Courier-BoldOblique

Symbol fonts: Symbol, ZapfDingbats

Documents using only these fonts will render consistently without embedding. However, these fonts are limited in style and language support, making embedding necessary for most professional documents.

ℹ️

Helvetica vs Arial

Helvetica and Arial are nearly identical fonts, but Arial is not one of the 14 standard PDF fonts. If your document uses Arial and it’s not embedded, PDF viewers will substitute Helvetica. While visually similar, the metrics differ slightly, which can cause line breaks and spacing to shift in precise layouts.

Font Types Used in PDFs

PDF supports four main font technologies, each with different characteristics and use cases.

Type 1 (PostScript Fonts)

Type 1 fonts were Adobe’s original font format for PostScript printers. They use cubic Bezier curves for smooth glyph outlines and support hinting for crisp rendering at small sizes. Type 1 fonts have been largely superseded by OpenType but still appear in older PDFs.

TrueType

Developed by Apple and Microsoft, TrueType fonts use quadratic Bezier curves for glyph outlines. They include sophisticated hinting instructions that ensure excellent rendering on screen, especially at small sizes and low resolutions. TrueType is the most common font format on Windows and Mac.

OpenType

OpenType is the modern successor to both Type 1 and TrueType, supporting advanced typographic features like ligatures, swashes, stylistic alternates, and extensive character sets. OpenType fonts can contain either PostScript (CFF) or TrueType outlines.

CID Fonts

CID (Character ID) fonts are designed for Asian languages (Chinese, Japanese, Korean) that require thousands of characters. They use a character mapping system that efficiently references large character sets without requiring individual glyph names.

FeatureTrueTypeOpenType
Advanced typography features❌ No✅ Yes
Large character setsLimited✅ Yes
Cross-platform compatibility✅ Yes✅ Yes
Ligatures and swashes❌ No✅ Yes
CJK language supportLimited✅ Yes
File size efficiencyGoodBetter
Industry standard todayLegacy✅ Yes

Font Embedding Explained

Font embedding is the process of including font data directly within the PDF file so the text renders correctly regardless of what fonts are installed on the viewer’s computer.

Full Embedding vs. Subsetting

Full embedding includes the entire font file in the PDF. This ensures all characters are available but adds significant file size—typically 100KB to 2MB per font.

Subsetting includes only the characters (glyphs) actually used in the document. A 500-character document might only use 80 unique characters, so subsetting embeds just those 80 glyphs. This dramatically reduces file size while ensuring perfect rendering.

When Fonts Must Be Embedded

You should always embed fonts when:

  • The document uses non-standard fonts not in the 14 standard set
  • The document contains special characters, symbols, or non-Latin scripts
  • The document will be printed professionally
  • The document needs to look identical on every device
  • The document is for archival purposes (PDF/A requires font embedding)

Font Embedding Permissions

Some fonts have embedding restrictions set by their designers. The font’s license metadata specifies one of four embedding levels:

  • Installable: No restrictions; can be embedded freely
  • Editable: Can be embedded; recipients can edit text using the font
  • Print & Preview: Can be embedded for viewing and printing but not editing
  • Restricted: Cannot be embedded at all

If you try to embed a restricted font, the PDF tool will either skip it or substitute an alternative. Always check font licenses before embedding.

Font Substitution: What Goes Wrong

When a PDF viewer can’t find an embedded font or a matching system font, it substitutes the closest available font. This is where problems arise.

Common Substitution Issues

Glyph replacement: Special characters like smart quotes, em dashes, and accented letters may be replaced with incorrect or missing characters if the substitute font doesn’t include them.

Metrics mismatch: Different fonts have different character widths. Substitution can cause text to overflow its containers, overlap with other elements, or break at different points than intended.

Weight and style loss: Bold and italic variants may not match in the substitute font, losing the visual hierarchy designed into the document.

Line break changes: When character widths change due to substitution, line breaks shift, potentially affecting paragraph flow and page layout.

How to Detect Font Problems

Before distributing a PDF, check for font issues:

  1. Open the PDF in Adobe Acrobat and go to File > Properties > Fonts
  2. Verify that all fonts show “(Embedded)” or “(Embedded Subset)” after their names
  3. If any font shows just the name without “Embedded,” it’s not embedded and may cause substitution
  4. Open the PDF on a different computer or in a different PDF viewer to verify consistent rendering
⚠️

Common Problem

The most frequent font issue in PDFs is missing Chinese, Japanese, or Korean characters. These languages require CID fonts with thousands of characters, and if not properly embedded, entire sections of text may appear blank or corrupted. Always verify CJK font embedding before distributing documents in Asian languages.

Best Practices for PDF Fonts

Following these best practices ensures your PDFs render consistently and reliably across all devices and viewers.

Always Embed Fonts

Make font embedding the default for all PDF exports. In most applications, this is a checkbox in the export or print dialog:

  • Microsoft Word: File > Save As > PDF > Options > “Embed fonts in the file”
  • Adobe InDesign: Export > PDF > Advanced > Fonts > “Subset fonts below 100%”
  • Google Docs: Download as PDF (automatically embeds fonts)
  • LibreOffice: Export as PDF > General > “Embed standard fonts”

Subset Fonts When Possible

Font subsetting includes only the characters used in the document, reducing file size by 80-95% compared to full embedding. Most PDF export tools enable subsetting by default, but verify this setting is active.

1

Check Your Export Settings

Before exporting to PDF, verify that font embedding and subsetting are enabled in your application's PDF export settings.

2

Use Standard Fonts for Simple Documents

For basic documents without special typography requirements, stick with the 14 standard PDF fonts. They render correctly without embedding and keep file sizes minimal.

3

Embed All Non-Standard Fonts

If your document uses custom fonts, always embed them. Choose subsetting to include only used characters and minimize file size.

4

Test on Multiple Platforms

Open your PDF on Windows, Mac, and a mobile device to verify consistent rendering. Check for character substitution, spacing issues, and alignment problems.

Choose Web-Safe Font Alternatives

When you can’t guarantee font embedding (for example, in automated workflows), choose fonts that are widely available across operating systems:

Cross-platform safe fonts: Arial, Times New Roman, Georgia, Verdana, Trebuchet MS, Courier New, Calibri, Palatino

These fonts are installed on most Windows, Mac, and Linux systems, making them reliable fallbacks when embedding isn’t possible.

Avoid Font Licensing Issues

Before embedding commercial fonts in PDFs for distribution, verify the font license permits embedding. Most commercial fonts allow embedding for viewing and printing, but some restrict it entirely.

If you need a specific font style but can’t embed the commercial version, consider these alternatives:

  • Use a free alternative with similar characteristics (e.g., Liberation fonts as alternatives to Arial and Times New Roman)
  • Purchase an embedding license from the font vendor
  • Convert text to outlines (curves) before creating the PDF, though this makes the text non-searchable

Optimize Your PDF Fonts — Free

Use our PDF optimization tool to embed fonts, subset character sets, and ensure your documents render perfectly everywhere.

Optimize a PDF Now

Font Encoding and Character Mapping

Font encoding determines how characters in the PDF are mapped to glyphs in the font. Understanding encoding helps troubleshoot garbled text issues.

Common Encoding Issues

WinAnsi vs. MacRoman: Windows and macOS historically used different encoding schemes for extended characters (accented letters, symbols). PDFs created on one platform may display incorrectly on another if encoding isn’t handled properly.

UTF-8 / Unicode: Modern PDFs use Unicode encoding, which supports virtually all writing systems. Ensure your PDF creation tool uses Unicode encoding for maximum compatibility.

Identity-H encoding: Used for horizontal CJK text, this encoding maps character IDs directly to glyph IDs. It’s essential for correct rendering of Asian language text.

Fixing Encoding Problems

If your PDF displays garbled text despite fonts being embedded, the issue is likely encoding-related:

  1. Re-export the PDF using a different tool that handles encoding correctly
  2. Verify the source document uses UTF-8 encoding
  3. Check for font conflicts between similar font names
  4. Use a PDF analysis tool to inspect the encoding tables

Fonts in PDF/A Documents

PDF/A, the archival standard, has strict font requirements to ensure documents remain readable indefinitely.

PDF/A font requirements:

  • All fonts must be embedded (no font substitution allowed)
  • Embedded fonts must contain all glyphs used in the document
  • Unicode mapping must be provided for all text
  • Fonts with embedding restrictions cannot be used

These requirements ensure that PDF/A documents render identically decades from now, regardless of what fonts are available on future systems.

FAQ

Frequently Asked Questions

Why does my PDF look different on another computer?
This is almost always caused by fonts not being embedded in the PDF. When fonts aren't embedded, the PDF viewer substitutes available system fonts, which may have different character widths and styles. To fix this, re-export the PDF with font embedding enabled.
How do I know if fonts are embedded in my PDF?
In Adobe Acrobat, go to File > Properties > Fonts tab. Embedded fonts will show '(Embedded)' or '(Embedded Subset)' after their names. If a font name appears without these labels, it's not embedded and may cause rendering issues on other devices.
Does embedding fonts make PDFs much larger?
Full font embedding can add 100KB to 2MB per font. However, font subsetting—which embeds only the characters actually used—typically adds just 10-50KB per font. For most documents, subsetting adds negligible file size while ensuring correct rendering.
Can I embed fonts in a PDF after it's been created?
Yes, PDF optimization tools can embed fonts in existing PDFs. Our Optimize PDF tool and Adobe Acrobat's PDF Optimizer can both retroactively embed fonts that were originally left unembedded.
What's the difference between TrueType and OpenType fonts in PDFs?
Both work well in PDFs, but OpenType supports more advanced typographic features like ligatures, stylistic alternates, and larger character sets. OpenType is the modern standard and recommended for new documents. TrueType remains widely supported and is fine for basic typography.
Why do some characters show as boxes or question marks in my PDF?
This indicates missing glyphs—the font used in the document doesn't include those characters, or the font wasn't properly embedded. Common causes include using special symbols, mathematical notation, or non-Latin scripts without the appropriate font. Fix by embedding a font that contains the required characters.

Conclusion

Font handling is one of the most critical yet overlooked aspects of PDF creation. By understanding embedding, subsetting, encoding, and substitution, you can create PDFs that render perfectly on every device, every time.

The most important step is simple: always embed your fonts, and always subset them to minimize file size. Combined with choosing appropriate font formats and testing on multiple platforms, these practices eliminate the vast majority of font-related PDF problems.

For help optimizing your existing PDFs, try our free PDF optimization tool that handles font embedding, subsetting, and compression automatically.


— iii — pdf-tools.oriz.in