I'm getting "Could not load the following font" error. I installed this font in jasper reports. What am I missing so I'm taking this error ?
Asked
Active
Viewed 64 times
0
-
You may have solved it by now. But for the record: just installing the font in Jasper reports is not enough. If you want to use the font in the Java project, you should also export the font and add it as a library to the project. – Mahm00d Sep 18 '15 at 15:38
1 Answers
0
Try this on your IDE terminal:
mvn install:install-file -Dfile=./font/fonts.jar -DgroupId=ttf -DartifactId=fonts -Dversion=1.0 -Dpackaging=jar

Arif Acar
- 1,461
- 2
- 19
- 33