Usage of custom font: error - Mendix Forum

Usage of custom font: error


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: 

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,





0 answers