Jump to content
JasperReports Library 7.0 is now available ×

How to migrate report from window to linux


2004 IR Help

Recommended Posts

By: chen hong - chlol

How to migrate report from window to linux

2005-08-02 09:15

i made a report,to display chinese data more than one page,and it can be displayed on windows,but not on linux.the question is that the first line will be missing three word on the second page on linux,i am very urgent to the answer and who can help me?

 

 

 

 

By: neptune22 - neptune22

RE: How to migrate report from window to linu

2005-08-03 22:25

does your linux pc have the font u need to display chinese characters?

 

 

 

 

By: chen hong - chlol

RE: How to migrate report from window to linu

2005-08-03 22:59

first of all,thank your response very much,

in my jrxml,the report font setting is following:

<reportFont name="ansj-st" isDefault="true" fontName="SimSun" size="14" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="STSong-Light" pdfEncoding="UniGB-UCS2-H" isPdfEmbedded="false"/>

the detail element is following:

<detail>

<band height="386" isSplitAllowed="true" >

<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" > <reportElement

mode="Transparent"

x="48"

y="8"

width="444"

height="373"

forecolor="#000000"

backcolor="#FFFFFF"

key="textField-16"

stretchType="NoStretch"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="true"

isPrintWhenDetailOverflows="true"/>

<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="1_1_2">

<font reportFont="ansj-st"/>

</textElement>

<textFieldExpression class="java.lang.String"><![CDATA[$F{pabg}]]></textFieldExpression>

</textField>

</band>

</detail>

 

 

i had install the simsun font on redhat as 3.0 and can use the font on desktop,but missing word or line when paging the data

expecting your response again ,thank you

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