Font 'Arial' is not available to the JVM

Hello

I try to make jasper report work with Excel 2007 in order to get  ".xslx" files with more than 60 000 rows. I work with groovy files, jasper report 4.0.2, jasperreport font 3.7.0, sping beans 2.5.6, spring core 2.5.6, jdk 1.5, Jboss server. But excel files are corrupt and illegible.

 

so I upgrade jasperreport from 4.0.2 to 5.1.0.

 

like many others, i had this exception :

"net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'Arial' is not available to the JVM. See the Javadoc for more details.

..."

 

I solved  it using DynamicJasper library and now i have this exception :

"net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'Calibri' is not available to the JVM. See the Javadoc for more details

..."

I have no solution to solve it.

 

I tried to upgrade jasperreport fonts from 3.7.0 to 5.1.0, then spring beans & core from 2.5.6 to 3.0.5.. and then jasperreport from 3.7.0 to 4.6.0

 

Anybody has a idea to solve it please ?

gregory.le.blanc's picture
Joined: May 7 2013 - 6:50am
Last seen: 9 years 10 months ago

1 Answer:

Make jar with fonts (in iReport) and add this jar into project

See more information in:
http://mdahlman.wordpress.com/2010/05/28/jaspersoft-v3-7-font-extensions/

sanbez's picture
5798
Joined: Jan 11 2011 - 2:06am
Last seen: 2 years 5 months ago
Feedback