-
Notifications
You must be signed in to change notification settings - Fork 20
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 font definition not respected #116
Comments
Same problem here. |
Found a (temporary) solution:
Available fonts can be found in This works with TYPO3 v10.4.18 and web2pdf v2.0.3 (composer and latest) |
I had an earlier version running and struggled with the actual. Solved by adding in the web2pdf\Resources\Private\Libraries\vendor\mpdf\mpdf\src\Config\FontVariables.php under 'fontdata' possibly at the end |
I'm having trouble again with this issue and my workaround from 5th Aug 2021 doesn't seem to work for me anymore. |
Any chance to use custom fonts right now? |
Thanks a lot for sharing your extension!
I am trying to use some custom font in generated PDF files.
This is my CSS definition:
The font file is located in
EXT:web2pdf/Resources/Public/Fonts/
. The file is namedDINWeb.ttf
.Unfortunately the font is not used for
<div class="teaser">Test</div>
.Am I missing something?
TYPO3: v10.4.8
ext:web2pdf: v 2.0.1
The text was updated successfully, but these errors were encountered: