Font used in Jaspersoft isn't available in JVM

Hello, I'm getting a 

net.sf.jasperreports.engine.util.JRFontNotFoundException

I've already added the font in Jaspersoft Studio like how it was described here: When export a report to PDF change the font .

I've also exported the font extension and placed the jar where my classpath can see it like how it was described here: How can I display "$£Ω€απ⅔" in Jasperserver PDF using iReport? .

I'm still getting the error. Does anybody know any other solution that might help? Thanks in advance.

Edit: I've also installed the fonts on my OS, still getting the error.

blamblam's picture
Joined: Apr 26 2021 - 6:37pm
Last seen: 2 years 2 weeks ago

1 Answer:

I solved this problem by exporting it as .zip instead of .jar, extracting the contents of the .zip and placing them under classpath.

More details on this in this blog (Solution 3): http://poor-developer.blogspot.com/2017/02/jasper-reports-using-unavailable-fonts.html

blamblam's picture
Joined: Apr 26 2021 - 6:37pm
Last seen: 2 years 2 weeks ago
Feedback