Jump to content

underline issue: urgent


rbojja

Recommended Posts

Hi

Using iReport i am adding underline to the text on my rpeort.The underline is displayed.

But the issue is underline is too close to the text almost touching every character of the text when i print the report.

Can some one help me on this issue.Its a production support issue.

 

Thanks

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Well, unless you're considering an upgrade to Java 1.6, there's nothing much you can do.  That's how Java renders underlined text by default.

Still, note that in JasperReports, the isUnderline attribute translates to TextAttribute.UNDERLINE_ON.  One could achieve lower underline even in Java < 1.6 by using TextAttribute.UNDERLINE_LOW_ONE_PIXEL instead.  However, this is not currently supported by JasperReports.

Regards,

Lucian

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