Colm De Barra <[EMAIL PROTECTED]> writes: > Chandra wrote: > >> Hi, >> I tried to rasterize image from svg to jpeg with Chinese characters >> in Linux environment. In the image it showing boxes in place of >> chinese characters. >> I faced the same problem in Windows. installation of 'Arial >> Unicode MS' true type font(ttf) solved the problem in windows >> environment. >> Can any one tell me how to fix in Linux? >> Cheers, >> Chandra > > Hi Chandra, > I'm having similar problems with Japanese characters and batik. Are > you using the commandline > batik-rasterizer tool ? that works fine for me in linux - you have to > make sure your svg files > are saved as UTF-8 files though.
To get Korean rendered properly, I had to use a style sheet like this: @font-face { font-family: Arial; src: url("arialbd.ttf"); } @font-face { font-family: "Baekmuk Dotum"; src: url("dotum.ttf"); } text { font-family: Arial, "Baekmuk Dotum"; font-size: 14px; } The font files are in the same directory as the SVG and CSS files. I suppose the same method should work for Japanese and Chinese. For Japanese, you might want to try the Kochi family of fonts. They are installed by default on my Gentoo boxes, I don't know about other distributions. -- Måns Rullgård [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]