I am currently trying to create a fully valid PDF/A-1B. The problem here seems to be that I am using the font "Merriweather Light". When I validate my PDF using VeraPDF, I get errors of two types:
Rule Status
Specification: ISO 19005-1:2005, Clause: 6.3.5, Test number: 1
Embedded font programs shall define all font glyphs referenced for rendering with conforming file. Failed
2 occurrences Hide
Glyph
renderingMode == 3 || isGlyphPresent == null || isGlyphPresent == true
root/document[0]/pages[240](4150 0 obj PDPage)/contentStream[0](4151 0 obj PDContentStream)/operators[128]/usedGlyphs[5](BAPWVJ+Merriweather-LightIt 69 0 0)
...
and
Specification: ISO 19005-1:2005, Clause: 6.3.6, Test number: 1
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. Failed
117 occurrences Hide
Glyph
renderingMode == 3 || isWidthConsistent == null || isWidthConsistent == true
root/document[0]/pages[240](4150 0 obj PDPage)/contentStream[0](4151 0 obj PDContentStream)/operators[94]/usedGlyphs[30](VWCVXM+Merriweather-Light 79 0 0)
...
Other errors/problems do not seem to show up.
My preamble looks like this:
\documentclass[10pt]{style}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[a-1b]{pdfx}
\usepackage[light]{merriweather}
Anyone knows how to get Merriweather embedded in an PDF/A without errors?
As per request, here is a MWE that reproduces the problem:
\documentclass[10pt,chapterinoneline,english,onehalfspacing,headsepline]{style}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[a-1b]{pdfx}
%\usepackage{palatino} % <-- this works and gets verified (yet looks utterly ugly)
\usepackage[light]{merriweather}
\begin{document}
lorem ipsum
\end{document}
\documentclass{...}and ending with\end{document}. – DG' Jun 14 '18 at 15:02lualatex– DG' Jun 14 '18 at 20:00