Page 1 of 1

Error in executing a report

PostPosted:Tue Feb 05, 2019 11:00 am
by mamad
When i try to execute a jasperReport template which has been made by IReport tool, i face with the following error :
Application error
Code: Select all
Class: net.sf.jasperreports.engine.util.JRFontNotFoundException
Message: Font 'tahoma' is not available to the JVM. See the Javadoc for more details.
In the template i install a tahoma font by follow the instructions in this page :
https://community.jaspersoft.com/wiki/ireport-fonts

I also export the font as extension and put its jar file to project build path but the problem still remains.

Re: Error in executing a report

PostPosted:Thu Feb 07, 2019 7:18 pm
by jllort
I suppose you are on linux, you should install microsoft core fonts, for example in Ubuntu:
Code: Select all
sudo apt update
sudo apt install ttf-mscorefonts-installer
sudo fc-cache -f -v
Finally restart OpenKM.

If that not solves the issue, then must manually installing the font:
Code: Select all
To add a TrueType font to Java, just put the TTF file in the /usr/java/jre/lib/fonts directory.
Note: you may need to restart the JVM to see it

Re: Error in executing a report

PostPosted:Mon Dec 26, 2022 12:10 pm
by nishant8900
Hi,
I am using OpenKM 6.3 CE on windows, and I am also getting this same error for font style 'Arial'.
Can you please tell me how to solve this in Windows.

Thanks

Re: Error in executing a report

PostPosted:Mon Jan 02, 2023 9:30 am
by jllort
Ensure you have Arial font in your computer and then restart the OpenKM service to take effect.