I noticed that the Node renderer, when used with OpenType Variable fonts, leads to pdf files that are not PDF/A-compliant. A minimal example (using this font):
Running the verapdf validator on the resulting pdf document gives many errors of the type
Glyph width 788 in the embedded font program is not consistent with the Widths entry of the font dictionary (value 756)
It appears as if the font dictionary contains the widths for the default value of the weight axis, rather than for the generated instance. The Harf renderer produces correct output.
I noticed that the Node renderer, when used with OpenType Variable fonts, leads to pdf files that are not PDF/A-compliant. A minimal example (using this font):
Running the verapdf validator on the resulting pdf document gives many errors of the type
It appears as if the font dictionary contains the widths for the default value of the weight axis, rather than for the generated instance. The Harf renderer produces correct output.