LoickMEYER
LoickMEYER

Reputation: 130

PDF/A-3 error : Glyph widths in font dictionary are not consistent with embedded font program widths

I try to create a factur-X PDF, I use https://services.fnfe-mpe.org/ to audit my pdf to test validity of those. I have this error :

Spec. ISO_19005_3 clause 6.2.11.5 For every font embedded in a conforming file and used for rendering, the glyph width information in the font dictionary and in the embedded font program shall be consistent. Level: CosDocument

Context:
root/document[0]/pages[0](3 0 obj PDPage)/contentStream[0](4 0 obj PDContentStream)/operators[9]/xObject[0](5 0 obj PDXForm)/contentStream[0](5 0 obj PDContentStream)/operators[2027]/usedGlyphs[0](TimesNewRomanNormal 32 0 0)
root/document[0]/pages[0](3 0 obj PDPage)/contentStream[0](4 0 obj PDContentStream)/operators[9]/xObject[0](5 0 obj PDXForm)/contentStream[0](5 0 obj PDContentStream)/operators[2001]/usedGlyphs[0](TimesNewRomanNormal 15 0 0)
root/document[0]/pages[0](3 0 obj PDPage)/contentStream[0](4 0 obj PDContentStream)/operators[9]/xObject[0](5 0 obj PDXForm)/contentStream[0](5 0 obj PDContentStream)/operators[2017]/usedGlyphs[0](TimesNewRomanNormal 8 0 0)
root/document[0]/pages[0](3 0 obj PDPage)/contentStream[0](4 0 obj PDContentStream)/operators[9]/xObject[0](5 0 obj PDXForm)/contentStream[0](5 0 obj PDContentStream)/operators[1507]/usedGlyphs[0](TimesNewRomanNormal 59 0 0)
root/document[0]/pages[0](3 0 obj PDPage)/contentStream[0](4 0 obj PDContentStream)/operators[9]/xObject[0](5 0 obj PDXForm)/contentStream[0](5 0 obj PDContentStream)/operators[1172]/usedGlyphs[0](TimesNewRomanNormal 22 0 0)

PDF File example

I try to use OpenType font (.otf) but the problem persist.

I try to set all text with same font size and same font-width but the problem persist. Thank you for your help

Upvotes: 1

Views: 635

Answers (0)

Related Questions