bithost-gmbh / pdfviewhelpers

TYPO3 CMS extension that provides various Fluid ViewHelpers to generate PDF documents.
GNU General Public License v3.0
44 stars 20 forks source link

Can't add custom font #58

Closed lars-s closed 6 years ago

lars-s commented 6 years ago

Hello,

trying to use an imported custom font doesn't work. The view doesn't load and throws this error:

"TCPDF ERROR: Could not include font definition file: foo"

This is my configuration typoscript:

PDFviewhelper settings

plugin.tx_pdfviewhelpers.settings.config.fonts { addTTFFont { foo { path = EXT:pdfviewhelpers/Resources/Public/Examples/FullFeatureShowCase/Roboto.ttf } } }

It appears to work, because using a wrong file path will also throw an error.

lars-s commented 6 years ago

Multiple errors on my behalf:

macjohnny commented 6 years ago

@lars-s glad it works ;-)