jzhang6 Posted July 21, 2016 Share Posted July 21, 2016 The font size setting for static text is fine in JasperSoft, it looks good. However, the font size setting in .jasper doesn't work in Java code . Any advise. Thanks. Link to comment Share on other sites More sharing options...
hozawa Posted July 21, 2016 Share Posted July 21, 2016 Works OK with me. Make sure you're not setting anything in your code and that you have fonts available in your Java program classpath. Link to comment Share on other sites More sharing options...
jzhang6 Posted July 22, 2016 Author Share Posted July 22, 2016 The related libraray used in my environment:Jaspersoft : jasperreports-6.3.0.jar jasperreports-fonts-6.1.1.jar javaSE-1.6Java application: jasperreports-4.7.0.jar jasperreports-fonts-6.1.1.jar javaSE-1.6As my java application must run under Java1.6, I include jasperreports-4.7.0.jar in my java application. The bold, itlatic, font are working well with the exception with font size.Any advise? Thanks. Link to comment Share on other sites More sharing options...
hozawa Posted July 24, 2016 Share Posted July 24, 2016 Should be using the same version of JasperReports and JasperReports fonts in both environments. As you've pointed out, jasperreports 6.3.0 does not support jdk1.6. Have you tried using JasperReports font 4.7 in your apps (sorry, I don't use old version of JasperReports so haven't looked into it.)?Jasperreports 4.7.0 and 6.3.0 features and formats are different. 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