PDF guides

Find the fonts declared by pages and nested graphics

·

Use PDF Font Extractor to identify which font resources a PDF declares. Check the object reference, encoding, embedding and page list together when deciding whether to request a new PDF from its creator.

PDF Font Extractor

Find the shared font and the nested resources

Select Load example, then Extract font report. Three resources appear across two pages. Helvetica uses the same object on both pages, so the report lists it once with Pages 1, 2.

Page 1 declares FBadge inside a reusable Form XObject. Page 2 declares FCid with Identity-H and a CIDFontType2 descendant. Both rows share the same displayed BaseFont name, but they have different font objects and encodings.

Find the shared font and the nested resources
ObjectFont evidencePages
6 0 RHelvetica, Type1, no program declared1, 2
9 0 RABCDEF+ProofTriangle, TrueType, FontFile21
12 0 RABCDEF+ProofTriangle, Type0 with a CIDFontType2 descendant2

Download the two-page font fixture with nested Type 0 and TrueType evidenceAdobe PDF 32000-1 reference for resource dictionaries, font descriptors and composite fonts

Read the subset prefix and font program separately

ABCDEF+ is a conventional subset prefix. The report marks it as a naming hint and shows FontFile2 separately as evidence of an embedded TrueType program.

The Type0 entry’s program is reached through its descendant font descriptor. Use Object or Encoding to distinguish its row from the simple TrueType font when comparing a document before and after a change.

Download the two-page font fixture with nested Type 0 and TrueType evidenceAdobe PDF 32000-1 reference for resource dictionaries, font descriptors and composite fonts

Verify the exported inventory

Download font JSON and find the entry with reference 12 0 R. It should include Identity-H, a CIDFontType2 descendant, FontFile2 and page 2. For spreadsheet review, download the CSV and compare its Pages and Object columns.

Poppler’s pdffonts shows the three fixture objects and their embedding flags. A declaration can exist without producing visible glyphs. Examining actual painted text or validating an archival profile requires a separate check.

Download the two-page font fixture with nested Type 0 and TrueType evidenceAdobe PDF 32000-1 reference for resource dictionaries, font descriptors and composite fonts

Common questions

What happens when several pages declare the same font object?

One row lists all the physical pages that reference it. Separate objects may still have identical names.

Does the extractor inspect a Type 3 font program?

It can report the presence of Type 3 glyph definitions as resource evidence. It does not execute or render the glyph streams.

Sources

Put it into practice.

Related guides