Jasper and custom fonts
Posted: Mon Jul 01, 2019 6:22 pm
Hi,
Can anyone help me figure out how to get custom fonts to work with Jasper please. I have followed the advice given on the Jaspersoft community to create a font extension jar (https://community.jaspersoft.com/wiki/custom-font-font-extension) and have included this jar file in the servoy-jaspersoft directory on the server. I have also tried following the advice given on the servoyforge Jasper plugin page (https://www.servoyforge.net/projects/se ... ease_notes) albeit this seems to be for a very old release. Nothing seems to work and I constantly get the following error message when I try to run a report with the custom font in it:
I'm relatively new to Jasper so would appreciate any advice on solving this one.
Thanks
Steve
Can anyone help me figure out how to get custom fonts to work with Jasper please. I have followed the advice given on the Jaspersoft community to create a font extension jar (https://community.jaspersoft.com/wiki/custom-font-font-extension) and have included this jar file in the servoy-jaspersoft directory on the server. I have also tried following the advice given on the servoyforge Jasper plugin page (https://www.servoyforge.net/projects/se ... ease_notes) albeit this seems to be for a very old release. Nothing seems to work and I constantly get the following error message when I try to run a report with the custom font in it:
- Code: Select all
java.lang.Exception: net.sf.jasperreports.engine.util.JRFontNotFoundException: Font "Font Awesome 5 Pro Regular" is not available to the JVM. See the Javadoc for more details.
I'm relatively new to Jasper so would appreciate any advice on solving this one.
Thanks
Steve