tedpet Posted January 10, 2013 Share Posted January 10, 2013 I am creating my JasperReport from my Java app. i have a textField with "$F{meetingPurpose}" to define where the text comes from. I notice that if the amount of text will not fit in the textField, the resultant text will be baseline shifted down about 1/2 the Cap height.Has anyone else seen this?textField isStretchWithOverflow="true">reportElement uuid="2e3604dd-1f53-44d6-ab66-b3e41732955b" x="247" y="229" width="232" height="20"/>textElement>font fontName="CBSwiss721BT-Light"/>/textElement>textFieldExpression>![CDATA[$F{meetingPurpose}]]>/textFieldExpression> /textField> if ![CDATA[$F{meetingPurpose}]] has enough text to extend past the width="232" limit, the whole textField is baseline shifted down about 1/2 Xheight. iReport 4.7.1 Link to comment Share on other sites More sharing options...
tedpet Posted January 10, 2013 Author Share Posted January 10, 2013 here is the XML: $F{meetingPurpose} if the text for $F{meetingPurpose} extends past the width, all the text is baseline shifted about 1/2 the X height. Link to comment Share on other sites More sharing options...
tedpet5 Posted January 20, 2013 Share Posted January 20, 2013 wow upgrading to 5.0 fixes the issue. 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