Hi guys,
I've been strugling with a pdf issue, i want to use Arial font, in jasperStudio preview everything looks normal but when the pdf is generated font is different and texts aren't bold. I found that Font Util doesn't find the arial font and instead set the helvetica below is a print of the code, if anyone can help, I appreciate it.
Class of the code is JRPdfExporter, line 2634.
Attachments:
1 Answer:
Posted on October 1, 2021 at 9:44am
Depending on the operating system and due to licensing msft fonts may not be available to the JVM and you will need to install them. That can lead to this issue as Arial is a msft font particularly with Linux.
You may also need to create a jar with the font extension. see steps here: https://community.jaspersoft.com/questions/1170991/pdf-does-not-highligh...