Hi Sai,
Here is the documentation to add custom fonts:
https://docs.mendix.com/refguide/style/#custom-fonts
Go Make It
Hi Sai,
If you use font-family:Arial in your document template it will search for a font-triplet with the name arial. Or in case if you are looking for Klavika RG, setting the loglevels to trace give youthe following warning:
Font "klavika rg,normal,400" not found. Substituting with "any,normal,400". because i had also facing the same issue. To fix this i simply changed the font-triplet name to lower case in my fop.xconf. While i am not sure on what the documentation of fop states of using triplet names capital letters.
I had same issue with PDF. then i
Changed from
<font-triplet name="Arial" style="italic" weight="bold"/>
<font-triplet name="ArialMT" style="italic" weight="bold"/>
to
<font-triplet name="arial" style="italic" weight="bold"/>
<font-triplet name="arialMT" style="italic" weight="bold"/>
Read this blog once,
https://www.notion.so/Generating-PDF-A-compliant-documents-01ff7b8462e0404eac21b178784cae7d
Thank you.