Jump to content

Recommended Posts

Posted

By: padmini - padmini

static text and unicode

2003-02-17 05:01

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

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