Jump to content
We've recently updated our Privacy Statement, available here ×

Font Size setting is not working in Java code


jzhang6

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

The related libraray used in my environment:

Jaspersoft : jasperreports-6.3.0.jar   

                        jasperreports-fonts-6.1.1.jar   

                        javaSE-1.6

Java application: jasperreports-4.7.0.jar

                                 jasperreports-fonts-6.1.1.jar

                                 javaSE-1.6

As 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...