Jump to content
We've recently updated our Privacy Statement, available here ×

line wrap not printing on pdf


tedpet5

Recommended Posts

I have a parameter in a text field

$P{distribution}

I set the check box for "Stretch with overflow" and the text box does indeed stretch. However, unless the final line ends in a NewLine, it does not print. The space for the line is there as the next element is floating and moves down to create space leaving a big hole. If I add a newline to the string then the final line prints.

anyone have an idea? Is there a setting that is making this line not show up unless it is terminated by a newline?

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 months later...

What I discovered after a conversation with a jaspersoft engineer is that the iReport and JasperReports is very sensitive to the fonts that you use.

I created my own font with fontographer by starting with a standard font, stripping out all the characters I don't need and creating a new font. Depending on the font settings of the original font, (the bounding box and interrnal size) it may not work properly.

I examined fonts that did work and matched the settings, specifically the UPM square. (Font Information => Demensions) Set to 2048 and recalculate the font line spacing, etc with the "Calc all" button.

After reimporting this newly sized font, this fixed my font issue.

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...