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

Uncaught TYPO3 Exception: Not a TrueType font: version=168430090 | Mpdf\MpdfException thrown in file phar[...] #106

Closed
HansDump opened this issue Aug 13, 2019 · 1 comment

Comments

@HansDump
Copy link

Hey,
a project is throwing this exeption all the time in web2pdf\Libraries\mpdf.phar\vendor\mpdf\mpdf\src\TTFontFile.php on line 271.
If I am right, how can I add / remove my custom font? It's not documented.
In this case it's a Google font.

Thank you!
Best regards.

web2pdf v1.2.2
typo3 v7.6.32

@pstranghoener
Copy link
Member

Custom Fonts can be done with an overwrite for Resources/Public/Fonts

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

No branches or pull requests

2 participants