Jump to content

Recommended Posts

Posted

Version - Jasper 5.6

Use case: I have 100 text fields in my report. For that I have created a style say Style1 with Arial font, size 5, and bold = true. But the pdf report generated will not have these textfields in bold. The work around is to manually go and select each of these text fields and set PDF font to Helvetical bold. Then the report is proper. But again there are 2 problems associated with this.

1) Manually setting 100 text fields is tedious. Again I cannot select all this together as these text fields are in 10 different List components.

2) I also read in some forums where it says PDFFonts is obsolete and we  need to use fonts-extension by adding jasperreports-fonts-xxx.jar into the classpath. But when I unzipped this jar and checked, it has only dejavuserif font. But I use Arial.

can any one guide me which is the right approach

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...