By: padmini - padmini
static text and unicode
2003-02-17 05:04
Hi All ,
I want to display static text in chinese . Is this possible . I have tried creating a font with chiense pdf encoding
<reportFont name="Arial_Chinese_title" isDefault="true" fontName="Arial" size="16" pdfFontName="MHei-Medium" pdfEncoding="UniCNS-UCS2-H" isPdfEmbedded="true"/>
and then have a static text field like this
<staticText>
<reportElement x="0" y="10" width="515" height="20"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font reportFont="Arial_Chinese_title" size="16"/>
</textElement>
<text>第一銀行 出口託收收妥通知</text>
</staticText>
This displays some junk characters when the pdf is generated . Please suggest a solution?
Regards
Padmini
static text and unicode
2003-02-17 05:04
Hi All ,
I want to display static text in chinese . Is this possible . I have tried creating a font with chiense pdf encoding
<reportFont name="Arial_Chinese_title" isDefault="true" fontName="Arial" size="16" pdfFontName="MHei-Medium" pdfEncoding="UniCNS-UCS2-H" isPdfEmbedded="true"/>
and then have a static text field like this
<staticText>
<reportElement x="0" y="10" width="515" height="20"/>
<textElement textAlignment="Center" lineSpacing="Single">
<font reportFont="Arial_Chinese_title" size="16"/>
</textElement>
<text>第一銀行 出口託收收妥通知</text>
</staticText>
This displays some junk characters when the pdf is generated . Please suggest a solution?
Regards
Padmini
0 Answers:
No answers yet