anila Posted December 4, 2008 Share Posted December 4, 2008 When printing reports from Jasper from LAN on MAC OS 10.5 Intel or PPC, the report looks correct in the jasper viewer however on paper the wrong font is being used and the output does not look ideal on paper as it is printing with the Lucida Grande 12 system font rather than are specified Ariel font. It is my current belief that this is a Java MAC OS issue that may be resolved when apple comes out with a JRE 1.6 for MAC. Can we make any custom modification to the primary jasper jar to overcome this issue? Link to comment Share on other sites More sharing options...
lucianc Posted December 4, 2008 Share Posted December 4, 2008 anilaWrote: It is my current belief that this is a Java MAC OS issue that may be resolved when apple comes out with a JRE 1.6 for MAC. Can we make any custom modification to the primary jasper jar to overcome this issue? JasperReports uses the standard Java printing APIs. If there is a known problem with the implementation of these APIs in the Mac OS Java, and there is some workaround for it, in theory you could modify the JR printing code to incorporate the workaround and fix the issue.However, it no workaround is known for the Java problem, I don't know what you could do. One option might be to completely change the way JR prints reports by rendering a report page onto an image and then printing that image instead of directly printing the report text. This approach would, however, have its onw drawbacks.Regards,Lucian Link to comment Share on other sites More sharing options...
anila Posted February 11, 2009 Author Share Posted February 11, 2009 I have placed "Arial.ttf" file in /library/fonts folder and now the report looks similar to that which is generated on WIndows 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