Printing with doPDF fails with variable font
Posted: Sun Jul 07, 2019 4:44 am
Microsoft created the Bahnschrift font for Windows 10, the design is based on DIN 1451, the font includes multiple font weights produced with OpenType font variation.
This is how does this font looks like, I used all 5 font weights from this font in WordPad, as well as its condensed variants.

But after I print with doPDF, all texts used only normal weight.

As my suggestion, doPDF need to create a wrapper to load informations from variable fonts, including specifit font weight, style, metrics, optical size and so on, then convert font variation instances as static fonts before embedding fonts into PDF.
See: https://docs.microsoft.com/en-us/typogr ... ance-fonts
Windows 10
doPDF 10.1.114
This is how does this font looks like, I used all 5 font weights from this font in WordPad, as well as its condensed variants.

But after I print with doPDF, all texts used only normal weight.

As my suggestion, doPDF need to create a wrapper to load informations from variable fonts, including specifit font weight, style, metrics, optical size and so on, then convert font variation instances as static fonts before embedding fonts into PDF.
See: https://docs.microsoft.com/en-us/typogr ... ance-fonts
Windows 10
doPDF 10.1.114