Font problem in JasperReports server report preview
Posted on November 20, 2015 at 10:55am
I designed a report that uses 3 fonts. I installed the fonts in iReport, exported the font extension jar.
In JasperReports server:
1. If I don't put the font extension in jasperServer: The web preview of the report looks ok, but the PDF export has only 1 font.
2. If I put the font extension in Tomcat libs: The web preview of the report has only one font, but the PDF export looks ok with embedded fonts.
It's crazy. Installing the font extension corrects the PDF but breaks the server web preview.
Note: on iReport, both the preview and the PDF export look ok
Note: The server runs on Ubuntu
Joined: May 22 2012 - 7:10am
Last seen: 4 days 4 hours ago
Posted on November 22, 2015 at 3:53pm
Probably a problem with iReport not generating font jar file correctly. Should switch over to Jaspersoft Studio.
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago
Posted on November 23, 2015 at 5:20am
Generated font jar with JasperSoft Studio this time but nothing changed. Studio puts the font families in separate folders, it's the only difference to iReport.
Joined: May 22 2012 - 7:10am
Last seen: 4 days 4 hours ago