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

The pdf export is correct but the print preview is different, JasperReports Server 8.0.0


erikmarbad

Recommended Posts

Hello, the problem is the following, when I run the report in JasperReports Server, the preview that is generated shows a different design than it should, however when I export it in PDF the design is presented as it should, any way to solve this problem?

In Jaspersoft Studio also the preview and export is correct.

Note: I tried with fonts and it didn't work.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

It's hard to tell what area of that image you are referencing, so I'll tackle the top right where the text fields run over the top of one another.

Specific to this issue, I've seen similar issues when a Text fields "Text Adjust" property is set in various ways in Jasper Studio 8.0.  For example on some of my previews, with a Text field set to "ScaleFont", the preview generates it just fine. However, like you, the generated PDF can cut text off in those fields.

The only solution I've found is to restrict my usage of "ScaleFont", but also also keep a list of the average pixel size of the font's I'm using so I can quickly calculate an appropriate size for the Text field. It also goes without saying that we go over generated reports with a fine-tooth comb to make sure they are generating properly (for most cases)

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