Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.14.0
-
None
Description
When exporting a PDF with custom fonts, for example using ttf fonts installed on the system fo example with font files:
- RobotoCondensed-Regular.ttf
- RobotoCondensed-Bold.ttf
I'm generating a pdf with a label that contains regular and bold face variants of above fonts.
The generated PDF, when viewed in Acrobat reader, only shows the regular font and also the PDF does not have the bold font embedded.
The attached minimalistic program reproduces this problem nicely. The same QPainter draw text commands create an invalid PDF, yet a correct SVG (example output files of the program are also attached)