abtrapp Posted May 8, 2011 Share Posted May 8, 2011 Hi!When I create a report, compile it in Java and create a PDF in a static text or textfield (that is more than long enought): text "XXX" is rendered "XX (newline) X" text "XXXX" is rendered "XXX (newline) X" text "XXXXX" is rendered "XXXX (newline) X" text "XXXXXX" is rendered "XXXXX (newline) X" text "aaaaa" is rendered "aaaa (newline) a" text "Hugo Boss" is rendered "Hugo Boss"I am using Jasper Reports 4.0.2 / iReport 4.0.2 on OS X Snow Leopard.This occures in the PDF preview from OS X and Adobe Acrobat Reader, the iReport preview shows the text correct...I can't force all customers to use the internal iReport renderer, so is there any way to produce correct PDFs??? Anybody any idea???Thank you very much in advance!Regards,Anton Trapp Link to comment Share on other sites More sharing options...
twoods Posted May 10, 2011 Share Posted May 10, 2011 This is something else that also started happening to me with version 4.0.2. Was not a problem with 4.0.1. In my case, what was rendered as:"Page X of Y" where "Page X of" was a right justified field and "Y" was an adjacent left justified field, is now rendered as follows no matter how wide or separated I made these two fields: "Page X of Y" Link to comment Share on other sites More sharing options...
abtrapp Posted May 10, 2011 Author Share Posted May 10, 2011 Cool. Thank you. Maybe I am blind, but where can I download the 4.0.1? Link to comment Share on other sites More sharing options...
abtrapp Posted May 10, 2011 Author Share Posted May 10, 2011 everything on sourceforge, stupid me :) Link to comment Share on other sites More sharing options...
mfirkser Posted May 10, 2011 Share Posted May 10, 2011 I've had the same problem in the past week and posted a similar question.A work around I found that helps is adding a blank space at the end of the field, see the code below I put in for "Text Field Expression". Seems to help.Code:$F{MUNICIPALITY} + " " Link to comment Share on other sites More sharing options...
abtrapp Posted May 10, 2011 Author Share Posted May 10, 2011 I "upgraded" to 4.0.1 - problem gone. 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