marco235 Posted February 20, 2013 Share Posted February 20, 2013 Dear all,I've created a report using iReport Designer 5.0.0 on Windows XP Professional SP3 with Java 1.6.0_23. My application uses jasperreports 5.0.1. When I run my application on my local PC (XP), the created PDF file looks fine: If I deploy my application on our test server (Linux 2.6.27.19-5-xen #1 SMP 2009-02-28 04:40:21 +0100 x86_64 x86_64 x86_64 GNU/Linux, Java 1.6.0_14, JBoss 4.2.3.GA) and I'm creating the same PDF document using the same data, some of the Text Fileds are truncated: For example, if you look at the Text Field "1 Kopfdaten des e-VD / ..": at the first figure the whole text is painted ("1 Kopfdaten des e-VD / Ausfalldokuments"). At the second figure the text is truncated and only "1 Kopfdaten des e-VD /" is painted. To see that the Text Field is big enugh for the Text I set a border to the Text Field. I'm not sure why it is so different on Windows/Linux and how can I fix it. On my report I have some more Text Fields with this problem. The Text Field is defined as follow: I also tried to use the option isStretchWithOverflow="true". Than the text will not be truncated anymore, but if the text is greater than the Text Filed, the Text Field will be stretched to a second line. I'm looking for an option to display as much text as possible and if the text reach the end of the field it can be truncated but not jump to the next line.Many thanks for your help in advance. 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