Jaspersoft Community 'Read-Only' as of July 8, 2022
Transition to New TIBCO Community Just Weeks Away
You can still search, review wiki content, and review discussions in read-only mode. Please email email@example.com with questions or issues requiring TIBCO review or response.
I have upgraded from IReport 5.10 to Jasper Studio 5.5.5, how do I install a new font using a .jar file? I don't have the actual fonts only this file.
In IReport you could simply add it as a new classpath and it would appear in the fonts list, but I can't figure it out in Jasper Studio. Going to the font option you have to select the individual fonts and I don't know how to add the new class path
Any help would be highly appreciated.
you can modify the Build-Path of your JasperReports project. Simple right-click on the project, I suppose you have "MyReports" default one, and hit "Properties".
After that choose "Java Build Path", tab libraries and 1) "Add Jars" if you can access them in the workspace 2) "Add External Jars" if they are located in the file system.
This way you should be able to access the fonts.
Moreover in the Jaspersoft Studio Preferences you can access the page "Jaspersoft Studio > Fonts" and from there add manually fonts if you will have to work with TTF files.
Hope this can help.
I am having the exact same issue. I did Project Properties ->Fonts --> Configure Workspace settings ->Add->
- True Type : C:\tmp\ARIALN.TTF
- PDF Font Name : Left empty as none of the choices has arial narrow
- Embed this font in PDF doc : checked.
- Everything else is default
Then applied my new font to a lable on my report and I keep getting this error: