erikmarbad Posted April 28, 2022 Share Posted April 28, 2022 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 More sharing options...
dspake Posted May 4, 2022 Share Posted May 4, 2022 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 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