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:
- Type3 CharProc resources-pdfa3.pdf
- 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:
- the stream dictionary of that glyph description content stream;
- 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:
- the parent page dictionary on which the Type 3 font is used;
- resource inheritance from ancestor nodes of the parent page dictionary (see 7.7.3.4 "Inheritance of page attributes").
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:
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: