Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#326 Report title is not shown in some machines

v4.7
closed
nobody
None
7-HIGH
2013-07-31
2013-02-12
Javier Paniza
No

We have observed that in some machine, in concrete in some Windows XP machine, the title for automatic reports is no shown.

This problem is fixed just changing in jasperReport.jsp, this code:

                <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                    <font reportFont="Arial_Normal" size="16"/>
                </textElement>
                <textFieldExpression class="java.lang.String">$P{Title}</textFieldExpression>

by

                <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">
                    <font reportFont="Arial_Normal" size="15"/>
                </textElement>
                <textFieldExpression class="java.lang.String">$P{Title}</textFieldExpression>

Note that we change font size from 16 to 15.

Anyways, before to apply this fix we have to revise the use of embedded fonts, because theoretically the report fonts should be equal in all machines.

Discussion

  • Javier Paniza
    Javier Paniza
    2013-02-25

    We change the size from 16 to 15 in OX4.7 to solve the problem now. However, we still have the bug open in order to investigate why the embedded fonts does not work.

     
  • Javier Paniza
    Javier Paniza
    2013-06-21

    • Priority: 5 --> 7-HIGH
     
  • Javier Paniza
    Javier Paniza
    2013-07-31

    • status: open --> closed
    • Group: v1.0_(example) --> v4.7
     
  • Javier Paniza
    Javier Paniza
    2013-07-31

    We have verified that that TTFs are loaded and that correct fonts are used by JasperReport, however it fails in some Windows XP with 16 font size.
    We left with 15 as size and we'll not investigate more. Because changing the size is a good solution for the OpenXava automatic reports and the font problem is a JasperReport/Windows problem, not one specific of OpenXava and not one that affects OpenXava after adjusting the font size.