Alex V Posted December 13, 2019 Share Posted December 13, 2019 HiI have a problem when generating a report from Jasper Server. When I generate a report from Jaspersoft Studio everything goes fine, but when I try to generate the same report from Jasper Server, sometimes unexpected white space appears at the bottom of the lines. This happens for any format: rtf, docx, odt, xlsx. The only exception is html. This happens randomly for any lines (most often in the format java.lang.String) and only when the isStretchWithOverflow option is enabled. No settings for line heights help reduce the size of this white space. When I change the font, white spaces may disappear on some lines and appear on other lines. To generate reports from the server, I use REST v2. Please help!Server version: Jasper Server 7.2.0 Comunity editionReport editor version: Jaspersoft Studio 6.10.0.Server environment:Server version: Apache Tomcat/8.5.34Server number: 8.5.34.0OS Name: LinuxOS Version: 5.0.0-37-genericArchitecture: amd64JVM Version: 1.8.0_201-b09 Link to comment Share on other sites More sharing options...
Alex V Posted December 17, 2019 Author Share Posted December 17, 2019 The problem turned out to be unsupported fonts on the Jasper server. On the computer where Jaspersoft Studio was installed, these fonts were placed. After I added these fonts to the server, the problem was resolved.Sources that helped in solving the problem:Jaspersoft CommunityJasper Reports: Adding Custom FontsIn my case, creating a new font was not needed - I just downloaded the existing one. 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