Matterhorn 31-009 · PDF/UA-1 UA1:7.21.4.1-1

Font not embedded: why substitution corrupts Hebrew

Blocker Checkpoint 31: Fonts WCAG 1.3.1 (A)

PDF/UA-1 requires every font used for visible text to be embedded, so the document renders and extracts identically everywhere. A glyph counts as rendered if the text render mode is not 3.

The condition, as the protocol states it. “For a font used by text intended to be rendered the font program is not embedded.”

Matterhorn Protocol 1.1, checkpoint 31, index 31-009, section UA1:7.21.4.1-1. Software can decide this one on its own.

What a screen reader actually does

Substituted fonts change glyph-to-character mapping, so extracted text can differ from what is displayed — especially for Hebrew, where substitution frequently produces mojibake.

What the requirement is

PDF/UA-1 clause 7.21.4.1: for a font used by text intended to be rendered, the font program shall be embedded. No exemptions, including for the fourteen standard fonts.

In the file, embedding means the font descriptor carries the program:

18 0 obj
<< /Type /FontDescriptor
   /FontName /ABCDEF+HelveticaNeue
   /Flags 32
   /FontFile2 19 0 R          % ← the embedded TrueType program
   /FontBBox [ -951 -481 1987 1077 ]
   ...
>>
endobj

/FontFile is Type 1, /FontFile2 is TrueType, /FontFile3 is CFF or OpenType. Condition 31-009 is a font used for visible text with none of the three.

Why this is an accessibility condition and not a print one

The intuitive objection is that this is about appearance, and appearance is not accessibility. The mechanism says otherwise.

A PDF paints glyphs by index. Turning an index back into a character requires the font’s own tables — its cmap, its glyph names, its ToUnicode CMap. When the font is embedded, those travel with the document and extraction is deterministic.

When it is not, the viewer substitutes a font it has locally. It maps the glyph indices through that font’s tables. For a Latin document with a common font the substitute is close enough that both rendering and extraction usually survive.

For Hebrew and Arabic they frequently do not. Substitution across fonts with different glyph orderings produces text that renders approximately and extracts as mojibake — and the extraction is what the screen reader gets. This is one of the reasons Hebrew PDFs fail in ways their authors never see.

It also interacts with 31-027: a font with no embedded program and no ToUnicode has nothing at all to map from.

How to check it free

pdffonts (Poppler, free) is the fastest:

$ pdffonts document.pdf
name                     type         emb sub uni
------------------------ ------------ --- --- ---
ABCDEF+HelveticaNeue     Type 1C      yes yes yes
Arial                    TrueType     no  no  no

no in the emb column is this condition.

Acrobat: File → PropertiesFonts tab. Embedded fonts say (Embedded Subset) or (Embedded). Anything without that annotation is not embedded.

veraPDF: reports clause 7.21.4.1 per font.

How to fix it free

There is no in-place fix worth trusting, and this is one of the few conditions where the honest answer is upstream only.

Re-export from the source. In Word: File → Options → Save → tick Embed fonts in the file, then export. In InDesign, fonts are embedded on export by default unless the licence forbids it — check the Advanced panel of the export dialog for a subsetting threshold. In LaTeX, pdflatex embeds by default; if a font is missing, the font package is not installed properly.

Acrobat’s Preflight has an Embed fonts fixup (Print Production → Preflight → PDF fixups). It works when the font is installed on your machine — Acrobat embeds the local copy. Two caveats: the local font may not be the one the document was made with, and the licence may not permit embedding. Check the result, do not assume it.

If the font is not available, the document cannot be fixed without re-typesetting it. That is a real answer, and it is better than a tool quietly substituting something.

Where Taggart differs

Taggart names every font and the pages it appears on:

/TaggartHebrew is used for rendering but its font program is not embedded. PDF/UA-1 requires every font used by visible text to be embedded.

The fix refuses to run, and says why:

Taggart will not substitute font programs: Arial, TimesNewRoman. Re-export the source document with font embedding enabled, or install the fonts and re-distill. Substituting a font changes the rendered page and may not be licensed.

That refusal is the point. Every other fix in Taggart is safe because it edits the object model and leaves the content streams alone; embedding a font is the one repair that would change what the page looks like. A tool that quietly swapped a font would break the guarantee everything else depends on — and it would do it invisibly, on exactly the documents where the substitute is furthest from the original.

How Taggart handles it

Taggart detects this condition automatically. It is reported as a blocker, with the page, the structure path and the object id of every occurrence.

The fix is Embed fonts. It changes what the document means, so Taggart proposes it and waits for your approval rather than applying it unattended.

Whatever Taggart changes, the page still looks identical. Fixes edit the PDF object model, not the content streams, and every remediation is re-rendered and compared against the original at structural similarity ≥ 0.999 before you get the file back. A tool that quietly reflows your document is worse than no tool.

Frequently asked questions

Why does embedding matter for accessibility rather than just for printing?

Because glyph-to-character mapping travels with the font. When a viewer substitutes a font it maps glyph indices through a different font's tables, so the text can render approximately right and extract completely wrong. For Latin text you usually get away with it. For Hebrew and Arabic you frequently do not.

Can Taggart embed the fonts for me?

No, and that is deliberate. Embedding means finding a font file that is not in the document, substituting it, and hoping the metrics match. That changes the rendered page — breaking the one guarantee the product rests on — and may not be licensed. The fix reports which fonts are missing and why it will not guess.

What about the standard 14 fonts?

PDF/UA-1 has no exemption for them. Helvetica, Times and Courier must be embedded like anything else. Viewers substitute them reliably enough that the page looks right, which is why this failure survives so long unnoticed.

Does text render mode matter?

Yes. The requirement applies to fonts used by text intended to be rendered — a glyph counts as rendered when the text render mode is not 3, which is the invisible mode used for OCR layers. An invisible OCR layer does not need its font embedded.

Where this sits in the standards

Standards this condition maps to
StandardReference
Matterhorn Protocol 1.1 Checkpoint 31 (Fonts), index 31-009
PDF/UA-1 (ISO 14289-1) Clause 7.21.4.1-1
WCAG 2.1 1.3.1 Info and Relationships — Level A
EN 301 549 / Section 508 / ADA Title II All three point at WCAG 2.1 Level AA for non-web documents, so a Level A or AA criterion here is in scope for each of them.

Other conditions in checkpoint 31

Checkpoint 31 covers fonts. These are its other failure conditions; the ones without a link are in the rule set but do not have a written page yet.

Check your own file. Taggart’s validator is free and unlimited — every machine-checkable Matterhorn condition, no page cap, no watermark, no account needed.

Check a PDF free

Verified against a real document on . Last updated .