Closed Teddytrombone closed 4 years ago
@Teddytrombone Thank you very much for your bug report and providing a fix! I will have a look at it this week and release a new version.
@Teddytrombone I just released a new version v2.3.3
including your fix. Thanks again very much for that!
Describe the bug If you use custom fonts with same family but different styles like regular and bold, then the pdf only has the regular style.
Environment TYPO3 version(s): v9.5.16 pdfviewhelpers version: v2.2.2, v2.3.2
Steps to reproduce Register two fonts, e.g. "font" and "fontb". "fontb" is the bold version of "font". Now create a PDF which renders an HTML string with regular and bold text using "font". In the resulting PDF, the text uses only "font".