In the generated PDF Output, text ist missing when using custom fonts.
How to reproduce (Jasper 5.6.2 workspace with report for reproducing the problem attached):
- Use the font "Futura"
- Create a report where a textfield gets completly filled with text during report creation. (99.9% of available width)
=> In the JasperStudio report preview, the complete text is rendered.
=> In the PDF Output, the last word of the first line is missing completely.
It looks like AWT/IText are handling the font informations differently. In the provided example AWT measures that the line 'dustrie und von Versorgungsunternehmen nach' does fit on one line. During rendering of the PDF, the given words do not fit on the intended line.
Note to attached workspace:
The used font 'FuturaStd-Book.ttf' is included in the example and added in the Jasper studio (using the preferences view)
The workspace was located in C:\ ,if another location is used for the test, the font definition is lost and has to be set again.