Jump to content
Changes to the Jaspersoft community edition download ×

Font not found in font util class


gabrieloliveira.17

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...