I added fonts to iReport (installed) and than even created jar (export as extension) and add it to iReport classpath .
In iReport everything is ok.
On JasperServer my fonts where changed, i.e. Times-Bold instead of my Times New Roman.
I add my jar with fonts (exported as extension from iReport) to jasper server Datasource/Add Resource/File/jar.
But it didn’t help.
We didn’t restart jasper server.
I’m not sure of it’s version.
I use iReport 4.0.0.
could you help us
And Teodor answered:
Thar JAR with the font extensions created from iReport needs to be put in the WEB-INF/lib folder of your JRS web application.
The following line needs to be added to the WEB-INF/classes/jasperreports.properties file:
The web server then needs to be restarted.
I hope this helps.
Should I restart jasper server after this upload ?
„I took jasperserver.war from http://testsp2.allianz.com.pl/ , I added MyFonts.jar to WEB-INF/lib and net.sf.jasperreports.web.resource.pattern.fonts=fonts/.* at the end of the WEB-INF/classes/jasperreports.properties file.”
I still experience problems with it.
I dont know how to send files - you could look at it: jrxml, pdf generated by iReport and on the server.