Usage of custom font: error - Mendix Forum

Usage of custom font: error

0

Hi Mendix community,

 

For my application I'm trying to use a custom font (calibri), I need this font to generate a PDF. I have followed the steps as described here: https://docs.mendix.com/refguide/style#custom-fonts-for-pdf-documents 

I ended up having:

 

However, when I generate a PDF with my application the following error occurs in my console:

com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: Failed to read font file arial.ttf
    at Product.Temp_Product_PDF (DocumentExport : 'Generate PDF (.pdf) document using template 'Product_Template'')

 

Does anyone have experience with this error and knows how to solve it?

 

Best regards,

 

Timo

 

 

asked
0 answers