bce777 Posted February 15, 2023 Share Posted February 15, 2023 When exporting reports to PDF at JasperServer (v7.5, 8.1) periodically fonts are broken like in attachments. This affects all charts (in all reports) and some simple reports without charts. In both cases not full report is affected but just charts or some tables. This happens occasionally and after several hours could work fine again. Also, it's fixed by the server restart. Any ideas on how to fix that and why this could happen? Link to comment Share on other sites More sharing options...
Michael Bielkiewicz Posted February 16, 2023 Share Posted February 16, 2023 Are you using custom fonts? Do you see this behavior in anything but PDF exports? Do you see anything in the jasperserver.log file when it does happen? Link to comment Share on other sites More sharing options...
bce777 Posted February 16, 2023 Author Share Posted February 16, 2023 Yes, we are using Roboto fonts, packed in jar and placed in report folder. And no, no errors in jasperserver.log.At the same time same report is exported to xlsx without issues. Link to comment Share on other sites More sharing options...
Solution Michael Bielkiewicz Posted February 21, 2023 Solution Share Posted February 21, 2023 Hmm. Interesting. Can you perhaps try to put the JAR file on your server in the WEB-INF/lib folder to see if the behavior improves (rather than attaching it to the report). This should, in theory, make the font available to all reports on your server. Link to comment Share on other sites More sharing options...
bce777 Posted April 3, 2023 Author Share Posted April 3, 2023 We put JAR file on server in the WEB-INF/lib folder, so far, for one month issue is gone, lets see how it will go on Link to comment Share on other sites More sharing options...
bce777 Posted March 20 Author Share Posted March 20 So far almost a year it works fine 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