Skip to content

Resources in Type3 char proc stream are ignored in PDF/A-4? #1618

Description

@shibaev

Consider two files based on veraPDF test suite 6-2-2-t02-fail-a.pdf with the only difference in PDF/A part and conformance level:

  1. Type3 CharProc resources-pdfa3.pdf
  2. Type3 CharProc resources-pdfa4.pdf

The first one passes PDF/A-3u validation. The second one fails PDF/A-4 validation with 6.2.2-2. It looks like /Resources in Type3 char proc stream are ignored for PDF/A-4.

Is it a bug for PDF/A-4 validation? ISO 32000-2:2020 contains the following comment for the "Content streams that define the glyph descriptions of a Type 3 font shall include a Resources entry in the Type 3 font dictionary specifying all the resources used by all the content streams in the CharProcs dictionary of a Type 3 font." paragraph:

If a glyph description content stream in the CharProcs entry of a Type 3 font uses named resources directly then those resources shall be present in the resource dictionary designated by the first Resources entry found in the following search order:

  1. the stream dictionary of that glyph description content stream;
  2. the parent Type 3 font dictionary that contained the CharProcs entry with the glyph description content stream;
    If there is no Resources dictionary explicitly associated with the Type 3 glyph description content stream or Type 3 font dictionary:
  3. the parent page dictionary on which the Type 3 font is used;
  4. resource inheritance from ancestor nodes of the parent page dictionary (see 7.7.3.4 "Inheritance of page attributes").

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions