mittwald / typo3-web2pdf

A TYPO3 extension for rendering content as PDF
GNU General Public License v2.0
18 stars 20 forks source link

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

Closed HansDump closed 4 years ago

HansDump commented 5 years ago

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 commented 4 years ago

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