Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom fonts with same family but different styles always uses "regular" style #161

Closed
Teddytrombone opened this issue Jun 2, 2020 · 2 comments · Fixed by #162
Closed
Assignees
Labels

Comments

@Teddytrombone
Copy link
Contributor

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".

@maechler
Copy link
Member

maechler commented Jun 2, 2020

@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.

@maechler
Copy link
Member

maechler commented Jun 3, 2020

@Teddytrombone I just released a new version v2.3.3 including your fix. Thanks again very much for that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants