jiangyichun Posted June 20, 2011 Share Posted June 20, 2011 I'm a rookie for Jasperreport, in the past few times I used BIRT for our report solutions, nowadays I just feel Jasperreport support JavaBean datasource better than BIRT which is more suitable for our current project so I decide to pick up Jasperreport instead. But I meet a problem when just writting a testing report which annoys me very much that is my word in the Text Field (which is put in a table cell) is splitted and put in two lines when the report is exported to PDF (no such problem in .rft format), e.g. "MYFFF TEST" is splitted as "MYFFF" and "TEST" and each one occupies one row; "FAILED" splitted as "FAILE" and "D". I have no idea it is the Text Field component has problem or the Table component has problem or it is my configuration on properties is wrong (in fact I didn't change so much properties on the components or report). I feel the root cause may be in the Font which I use because when I change to another one it seems situation becomes better (some word not splitted, but some ones still do). I just use Font "Arial" which is very common and shouldn't have problems. I put my report file and exported PDF file in attachment, and the version of Jasperreport which I use is 4.0.2 (also the iReport designer is 4.0.2). Please someone helps me. Link to comment Share on other sites More sharing options...
reseb Posted June 20, 2011 Share Posted June 20, 2011 Hello, i have the same problem since updating from version 3.7.3 to 4.0.2.While a String "test" is wrapped before the last "t"-character, the String "testsubject" is not wrapped at all (see screenshots)Is there a trick or hint to solve this? Link to comment Share on other sites More sharing options...
jiangyichun Posted June 21, 2011 Author Share Posted June 21, 2011 I feel this is very critical but easy to reproduce issue, no other people know?? Link to comment Share on other sites More sharing options...
reseb Posted June 21, 2011 Share Posted June 21, 2011 Hello again,Meanwhile i downgraded to version 4.0.1, which seems to work properly (for me) Link to comment Share on other sites More sharing options...
rdurand Posted June 21, 2011 Share Posted June 21, 2011 Same problem, same solution !It would be nice if jasper could give us a workaround... Link to comment Share on other sites More sharing options...
jiangyichun Posted June 23, 2011 Author Share Posted June 23, 2011 Just found changing the font of text field to "DejaVu Sans" seems can make situation better. Link to comment Share on other sites More sharing options...
burferd Posted June 23, 2011 Share Posted June 23, 2011 I am having the same problem as well. I don't see it in the iReport previewer, but when I generate a PDF - see attached.Accoount Information should be on one line;The colon is split on Pin: and Phone:The l is split from the word Model in the table.Post Edited by burferd at 06/23/2011 17:25 Link to comment Share on other sites More sharing options...
reseb Posted July 6, 2011 Share Posted July 6, 2011 seems to be fixed http://jasperforge.org/plugins/mantis/view.php?id=5279created the jar from revision 4444 and it seems to work fine thanks 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