Hi Cameron,

Thanks for your reply.  I tried to raster image with Chinese characters it
showing '?' character for each Chinese character.
Is there any specific fonts required to raster?  If yes,  Could you please
give from where and how to get those fonts.

Thanks in advance.

Chandra
----- Original Message ----- 
From: "Cameron McCormack" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 28, 2004 11:32 AM
Subject: Re: Chinese language support


> Hi Chandra.
>
> Chandra:
> > Right now I'm able to generate JPG files with the help of SVG and Batik.
Within JPG file I'm displaying some text in English.
> > Now my requirement is to support different languages specially Chinese.
> > Any one know about how to support Chinese?
>
> Rendering Chinese text into raster images is what got me into Batik (and
> SVG) initially.  Provided you have appropriate fonts installed, it
> should just work out of the box.
>
>   <svg xmlns="http://www.w3.org/2000/svg"; viewBox="0 0 200 100">
>     <text font-size="64" x="100" y="75" text-anchor="middle">
>       &#20013;&#25991;
>     </text>
>   </svg>
>
> Of course, you should be able to save your SVG file in some Unicode
> encoding or GB2312 and type the characters directly instead of using the
> numeric entities, if you want.
>
> Cameron
>
> -- 
> Cameron McCormack
> |  Web: http://mcc.id.au/
> |  ICQ: 26955922
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to