0

I have a report where I have paragraph with text, height of this paragraph is calculated by jasper - I am using "Stretch With Overflow" property.

In jasper preview I see this picture - http://screencast.com/t/VH4WdugLSdm - all is absolutely correct. But in generated PDF file I see this - http://screencast.com/t/CV37qjtzuIj. Last word is truncated. I think jasper has a bug in it, so it calculates count of lines incorrectly. Do somebody see something like it? Is there any solution? (maybe it is my bug, I need any hint).

These screenshots were made from Jaspersoft Studio, so I don't think that error is connected to wrong configuration of font extensions.

If you have any question - please ask - I will update the question.

Alex K
  • 22,315
  • 19
  • 108
  • 236
ruslan5t
  • 257
  • 3
  • 16
  • What font attributes are you using for the text element? The recommended setup is to use a font extension, which ensures that the same physical fonts is used in Java and PDF. – dada67 Sep 16 '16 at 18:23
  • also this is related http://stackoverflow.com/questions/39304759/why-is-it-wrapping-text-in-jasper-report-6-3 and always as dada67 said use [font-extension](http://stackoverflow.com/documentation/jasper-reports/5773/font-extensions) – Petter Friberg Sep 16 '16 at 22:53
  • These screenshots were not done from my application, they were done directly from Jaspersoft Studio, so I don't think that it is related to font extensions. – ruslan5t Sep 19 '16 at 08:57

0 Answers0