Hi GVS,

  I suspect the problem is encoding.  I don't know
what encoding '*'テスãƒ'.*' is supposed to be in,
but for anything above 7bit ASCII you really need
to provide an XML encoding line otherwise I believe
it defaults to UTF-8/16.  A standard xml encoding
line looks something like:

<?xml version="1.0" encoding="iso-8859-1"?>

It must be the first line in the document.


GVS Srinivas wrote:




hi all,
I am using batik JPEG transcoder to convert SVG into an image.
For all the SVG it does fine,when the text element is having some japanese characters it is not converting the characters and the image appears with the characters *'テスãƒ'.* I put the following ttf files(msmincho.ttf,msgothic.ttf) in the jdk path ,but still i face the same problem.I understand that batik uses ttf2svg.jar for font conversion,i am not sure how i should tell the JPEG transcoder to use ttf2svg.jar to convert the fonts properly.please guid me.


thanks a lot

GVS
*<svg id="theSVG" width="100%" height="100%" xmlns="* *http://www.w3.org/2000/svg* *" xmlns:a3="* *http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/* * " > <g id="world"> <rect id="bg" x="0" y="0" class="ViewBackGround" width="100%" height="100%" style="pointer- events:visible" />
<g id='vComponent;59536' transform='translate(40.0 ,1412.5) rotate(0.0)'>
<text class='StatuskeyDimensionObjectText' x='-35.0' y='2.5' > テスト Number</text>
</g>
</g>
</svg>
*
-





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



Reply via email to