Jump to content
Changes to the Jaspersoft community edition download ×
  • XLS Exporter decreases a size of Arial font to 1 (from 11 to 10).How to fix this?


    akonkin
    • Features: Exporters Product: JasperReports® Library

    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:

    1. 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.

    2. 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.

    User Feedback

    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 account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...