Jump to content
JasperReports Library 7.0 is now available ×

Arial Font Size Question


2005 IR Help

Recommended Posts

By: Tony Cheng - spcheng7

Arial Font Size Question

2004-09-09 05:45

Here is one part of my report. What it is doing is to print out remark on each row. The remark no and remark is two elements in same elementGroup.

 

The problem is that when I generate reports on Window platform, everything go fine. But when I generate it on UNIX platform, the long remark would stretch but leave a white space on the top.

 

I have already used PJA and Chinese version is ok. Just don't know why Arial font go wrong.

 

Can anyone suggest why ? thx

 

<detail>

<band height="15">

<elementGroup>

<textField>

<reportElement x="0" y="0" width="20" height="15" forecolor="#888888" backcolor="#FFFFFF" mode="Opaque" positionType="Float"/>

<textElement textAlignment="Left" verticalAlignment="Bottom">

<font reportFont="Remarks_Line"/>

</textElement>

<textFieldExpression class="java.lang.String">$F{RemarkNo}+"."</textFieldExpression>

</textField>

<textField isStretchWithOverflow="true">

<reportElement x="20" y="0" width="561" height="15" forecolor="#888888" backcolor="#FFFFFF" mode="Opaque" positionType="Float"/>

<textElement textAlignment="Left" verticalAlignment="Bottom">

<font reportFont="Remarks_Line"/>

</textElement>

<textFieldExpression class="java.lang.String">$F{Remark}</textFieldExpression>

</textField>

</elementGroup>

</band>

</detail>

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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