John, Your SVG file does not specify any font-family, so the default font applies and its initial value depends on the user agent, which means there is no guarantee that it will contain the Japanes characters you need.
So you should first set the font-family in your SVG document. However, the best solution is probably to embed the glyphs you use in an SVG font created from the font you are using when authoring. If that is a True Type Font and if the license allows you to do that, you can use the ttf2svg tool to create the code to embed in your file. See: http://xml.apache.org/batik/ttf2svg.html I hope this helps, Vincent John Barrus wrote: > > I have an SVG file which uses Japanese characters (unicode?) and they aren't > rendered correctly using the Batik Rasterizer. Does anyone know a quick way > to get the Japanese characters to show up correctly? Do I need to install a > font somewhere? > > I've attached a svg file as well as a rasterized JPG of the SVG file. > > The rasterizing was done on a Linux machine using the Batik rasterizer, but > the characters also appear as blocks in the Adobe-SVG-plugin-ized Windows > Explorer on my Win2K machine. If you view the SVG file as an XML file in > Windows Explorer (instead of SVG), the characters are correct. The > SVGAsXML.gif file shows how some of the characters should look. Apologies > for the three attachments. Hope they're not too big. > > Linux machine: Linux touchverse.crc.ricoh.com 2.2.14-VA.5.1 #1 Tue Sep 12 > 18:08:18 PDT 2000 i686 unknown > Windows machine: Win 2000, IE v. 5.00.2920..., Adobe SVG plugin 3.0 > > Thanks for your help. > > John B. > > ------------------------------------------------------------------------ > Name: imagemap.jpg > imagemap.jpg Type: JPEG Image (image/jpeg) > Encoding: base64 > > Name: msg_layout.svg > msg_layout.svg Type: Scalable Vector Graphics (image/svg+xml) > Encoding: quoted-printable > > Name: SVGAsXML.gif > SVGAsXML.gif Type: GIF Image (image/gif) > Encoding: base64 > > ------------------------------------------------------------------------ > --------------------------------------------------------------------- > 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]
