Hi all,
I got problems using my own fonts when exporting to PDF. JasperServer always says:
net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font : pdfFontName : Humnst777BtBold.ttf pdfEncoding : Cp1250 isPdfEmbedded : false
What steps are necessary to make it work. I already tried to add the font as a resource of the report by using the plugin in iReport and the webservice of JasperServer, without success.
I would appreciate any advice
Stephan
PS: I'm using JasperServer 3.5.0 CE
Post Edited by stephan_r at 07/12/2009 11:39
2 Answers:
Hi malek,
thanks for your reply. I tried it your way, with the absolute path and it works
But I try to avoid to work with absolute paths because it makes always trouble and a lot of work if anything changes. I think I found the more comfortable solution. If you add your font to the repository of JasperServer you can use "repo:yourfont.ttf" instead of a separate folder and a absolute path.
Thanks anyway
Stephan