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"> 中文 </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]