Using Google Web Fonts with JasperSoft Studio/Server?

We want to use Google based Open Sans font for our reports in JS.

I added them suing the Preferences->JS->Fonts menu and it seems to work fine when previewing in Studio.

Then I put the export jar file for the font family in C:\Jaspersoft\jasperreports-server-5.5\apache-tomcat\webapps\jasperserver-pro\WEB-INF\lib directory

But within JS Reports Server, the font doesn't appear (it shows Times New Roman instead).

I have attached a zip file with the font jar file, screenshot from JS Studio and screenshot in JS Reports Server.

Any ideas?

Thank You

kshah_1's picture
Joined: Feb 13 2014 - 1:00pm
Last seen: 9 years 1 month ago

1 Answer:

This is a well known error with 5.5.0. Try using 5.5.1 to generate your font jar file. If that doesn't work, you'll need to wait until 5.6.0 comes out.

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 4 years 3 months ago