gabrieloliveira.17 Posted October 1, 2021 Share Posted October 1, 2021 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. Link to comment Share on other sites More sharing options...
rmeadows Posted October 1, 2021 Share Posted October 1, 2021 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-highlight-bold-text Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now