mittwald / typo3-web2pdf

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

Cannot find TTF TrueType font file "DejaVuSansMono.ttf" in configured font directories. #89

Closed MarkusBausK closed 4 years ago

MarkusBausK commented 6 years ago

Hi,

I try to use the extension but it is not working by typoscript. I try to get the link for generating pdf by using in my fluid template. After clicking I get an extbase error message "Cannot find TTF TrueType font file "DejaVuSansMono.ttf" in configured font directories. "

By plugin it seems to work but I need the link in the template.

EDIT: The error happens on tx_news detailpage!

ghost commented 6 years ago

Hi Markus

today , I have faced this error on web2pdf extension.

I have added the DejaVuSansMono.ttf on following folder : /typo3conf/ext/web2pdf/Resources/Public/Fonts/

that resolved my problem , now I can download the pdf now and no error message anymore. Extension works fine.

We can download the file from this github repository : https://github.com/hbin/top-programming-fonts

thanks Best Regards, Jimit Shah

pstranghoener commented 4 years ago

We fixed in v1.2.4 and v2.0.0

isikbattenstein commented 3 years ago

I'm using Typo3v10 and web2pdf v2.0.1 and I also got the "Cannot find TTF TrueType font file "DejaVuSansMono.ttf" in configured font directories." message. There is also no DejaVuSansMono.ttf in \typo3conf\ext\web2pdf\Resources\Public\Fonts