darkmanta Posted March 22, 2010 Share Posted March 22, 2010 Hi, I need some help.I'm using IReport 3.7.1 on a client machine and jasperserver-ce 3.7.0 on a serverI designed a report on IReport and deployed it on the server.The report is correctly generated and viewed by the web interface, but the pdf generation fails with the error:net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font : pdfFontName : FreeSerif.ttf pdfEncoding : Cp1250 isPdfEmbedded : trueI don't know how to solve this problem.I loaded the ttf file in a content folder through IReport and then I embedded it in the report through the jasperserver interface as a resource.The ttf file was not uploaded even if the system reported no errors (bug?). So I uploaded the font manually.But the problem persists.I have seen that many people have the same problem but I've not found any solution.Can you help me please?ThnxPost Edited by darkmanta at 03/23/2010 11:07 Link to comment Share on other sites More sharing options...
darkmanta Posted March 23, 2010 Author Share Posted March 23, 2010 Does anybody know where is the right place, in the directory tree, to put ttf fonts for generating a pdf? thank you Link to comment Share on other sites More sharing options...
kannanmugundan Posted March 23, 2010 Share Posted March 23, 2010 Hi Did you find the soultion, I am also unable to generate PDF in AIX server environment. But in my development windows xp, I am able to generate PDF I get the below error when I run in AIX Code:2010/03/23 23:16:56 ERROR loadRegistries(DefaultExtensionsRegistry.java:182) - Error instantiating extensions registry for fonts net.sf.jasperreports.engine.JRRuntimeException: Could not find Spring resource /fonts/fonts1257513940572.xml for extensions registry fonts at net.sf.jasperreports.extensions.SpringExtensionsRegistryFactory.getBeanFactory(SpringExtensionsRegistryFactory.java:92) at net.sf.jasperreports.extensions.SpringExtensionsRegistryFactory.createRegistry(SpringExtensionsRegistryFactory.java:73) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.instantiateRegistry(DefaultExtensionsRegistry.java:200) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.loadRegistries(DefaultExtensionsRegistry.java:175) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.loadRegistries(DefaultExtensionsRegistry.java:135) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getRegistries(DefaultExtensionsRegistry.java:121) at net.sf.jasperreports.extensions.DefaultExtensionsRegistry.getExtensions(DefaultExtensionsRegistry.java:98) at net.sf.jasperreports.engine.util.JRStyledTextParser.<clinit>(JRStyledTextParser.java:76) at java.lang.J9VMInternals.initializeImpl(Native Method) Link to comment Share on other sites More sharing options...
darkmanta Posted March 24, 2010 Author Share Posted March 24, 2010 I didn't find the solution and I think nobody knows how to solve this problem. In iReport 3.7 it's easy to add new fonts for the inclusion in pdf reports. I can't understand why it's so difficult in JasperServer 3.7 Strangely, when I upload a new font to JasperServer, it appears in the web interface but the ttf files are not uploaded to the server. Link to comment Share on other sites More sharing options...
darkmanta Posted March 26, 2010 Author Share Posted March 26, 2010 Even if ttf fonts have been upload to a directory on the server and included as a resource in the report configuration, pdf generation fails.Can't understand. Very disappointed! Link to comment Share on other sites More sharing options...
mdahlman Posted April 1, 2010 Share Posted April 1, 2010 It sounds like you need to use Font Extensions. I wrote an article about Fonts in JasperServer a while back. Maybe that would point you in the right direction.Regards,Matt Link to comment Share on other sites More sharing options...
darkmanta Posted June 23, 2010 Author Share Posted June 23, 2010 I'll go and see... thank you for the suggestion Link to comment Share on other sites More sharing options...
honeybakliwal Posted March 23, 2011 Share Posted March 23, 2011 Can anyone help us out even ia m nt able to implement font injasperserver while its so easy to implement them in iReport please help its really very urgent .Font is nt visible injasperserver when i installed them in OS the font was visible injasperserver but wen i export it to pdf again i was disappointed please help me, as installing the font on every system at operating system is nt the right way to go ahead please guide me Link to comment Share on other sites More sharing options...
honeybakliwal Posted March 23, 2011 Share Posted March 23, 2011 I am using jasperserver 3.7.2 Enterprise edidtion Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now