Main menu

You are here

Font 'Arial' is not available to the JVM

Posted on May 16, 2013 at 1:49pm

0

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