Jump to content
Changes to the Jaspersoft community edition download ×

In Jrxml to word preview i am getting blank spaces in last lines and sentences are transferring to next page if space is available or not


athulyasajeev24

Recommended Posts

In Jrxml to word preview i am getting blank spaces in last lines, and sentences are transferring to next page if space is available or not. i am using textbox with height 20 and float. I am attaching the image of word file.It works fine in windows machine, but not working in ubuntu machine

converted-file.png.dd2f5043cbc7bdd7121f5d19f3444946.png

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Hello,
If the word export works well in Windows but not when using Ubuntu I would look into the font used.
JasperReports calculates the space needed by a text box based on the font. Windows comes with a lot of fonts that wouldn't be available by default in Ubuntu so that could be the issue.
Embedding a font in a JasperReports report is easy and it is fully documented at https://community.jaspersoft.com/documentation/jaspersoft-studio-user-guide-820/v820/fonts

Please let me know if that doesn't help.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...