Symptom:
The size of Arial font in the report is decreased to 1 (from 11 to 10)during the export operation to XLS format
Solutions:
There are 2 available solutions for this case:
To set the fontSizeFixEnabled property to false. It is available in xlsExportParameters bean that can be found in WEB-INF/applicationContext.xml file.
By default this property is set to true, causing the observed font decrease. After restarting the server, fonts should appear with their actual size.
This solution will affect all XLS exports, globally.
- To set the net.sf.jasperreports.export.xls.font.size.fix.enabled property to false in the JRXML file at report level. This solution will affect this report only.
Recommended Comments
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