kingananth007 Posted April 24, 2009 Share Posted April 24, 2009 Hi , I peeped into this following link: (obsolete link deleted)and found that there is an option to load Report-Font from XML and it can be set in JRExporterParameter.FONT_MAP_FILE_NAME. And there is a comment from teodar saying that it has been fixed in JR 3.1.3 release.I went through the Jasper Source of JR 3.1.3 and JR 3.5.0 and found out that there is no entry for "FONT_MAP_FILE_NAME" in JRExportParameter class.Can any body advice me that this option is there in Jasper or not ?Thanks in advance-Ananth- Link to comment Share on other sites More sharing options...
lucianc Posted April 24, 2009 Share Posted April 24, 2009 The solution implemented in JR 3.1.3 diverged from the FONT_MAP functionality, but it achieves the same goal of having XML font configuration capabilities. Consult the sample indicated in Teodor's comment to see how this works.Regards,Lucian Link to comment Share on other sites More sharing options...
kingananth007 Posted April 27, 2009 Author Share Posted April 27, 2009 Hi Lucian,Thanks for your reply.I went through the FontMapDigester.zip attached by teodarYou mean to say i can pass the XML file with font entries to FONT_MAP parameter directly ? or after parsing externally using the sample FontMapDigester.java and then pass that to FONT_MAP Parameter ?Because i couldn't find any related files that parses XML file for font inside the source of Jasper and pass it as a parameter.Can you advice me on this?Regards,Ananth Link to comment Share on other sites More sharing options...
lucianc Posted May 5, 2009 Share Posted May 5, 2009 The font extensions support in JR 3.1.3 does not use the FONT_MAP export parameter.The demo/samples/fonts sample uses jasperreports_extensions.properties to register a fonts extensions that reads fonts from the gentium/fonts.xml file.Regards,Lucian 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