Hi Thomas and all,
Please find attached a piece of SVG that contain some rect tags and the text (svgbox.txt) and its output (Output.jpg) created using Trranscoder API as described in my original email. The font we used is Traditional Arabic.
By the way I've got the exact same rendering issue with Adobe SVG Plugin in IE, works very well with Firefox.
Regards,
Thomas
Please find attached a piece of SVG that contain some rect tags and the text (svgbox.txt) and its output (Output.jpg) created using Trranscoder API as described in my original email. The font we used is Traditional Arabic.
By the way I've got the exact same rendering issue with Adobe SVG Plugin in IE, works very well with Firefox.
Regards,
Thomas
----- Message d'origine ----
De : [EMAIL PROTECTED]
À : [email protected]
Cc : [email protected]
Envoyé le : Mardi, 22 Août 2006, 12h35mn 02s
Objet : Re: Issue when transcoding Arabic chars
De : [EMAIL PROTECTED]
À : [email protected]
Cc : [email protected]
Envoyé le : Mardi, 22 Août 2006, 12h35mn 02s
Objet : Re: Issue when transcoding Arabic chars
Hi Thomas,
Thomas <[EMAIL PROTECTED]> wrote on 08/22/2006 06:08:10 AM:
> We've built a simple servlet to transform SVG to JPG
> It works very well with all kind of characters but for Arabic characters
it
> does not display correctly.
> The first character on the left is displayed well above the others.
>
> Is this a known issue?
Can you provide an example?
I am not aware of any known issues with Arabic text
handling. In fact I've heard that Batik's rendering of
Arabic is good. However, Arabic is an extremely difficult
script to layout well.
This may also depend on the font used (Batik
implements Arabic glyph replacement so the first
and last glyphs in each word are replaced, it is
possible that the 'base' font doesn't include the
initial/final forms of the glyphs so Batik might
jump to another font which could account for the
problem).
> Does a better algorithm exist?
undoubtedly, but as I said, people have said that
Batik's rendering of Arabic is pretty good.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thomas <[EMAIL PROTECTED]> wrote on 08/22/2006 06:08:10 AM:
> We've built a simple servlet to transform SVG to JPG
> It works very well with all kind of characters but for Arabic characters
it
> does not display correctly.
> The first character on the left is displayed well above the others.
>
> Is this a known issue?
Can you provide an example?
I am not aware of any known issues with Arabic text
handling. In fact I've heard that Batik's rendering of
Arabic is good. However, Arabic is an extremely difficult
script to layout well.
This may also depend on the font used (Batik
implements Arabic glyph replacement so the first
and last glyphs in each word are replaced, it is
possible that the 'base' font doesn't include the
initial/final forms of the glyphs so Batik might
jump to another font which could account for the
problem).
> Does a better algorithm exist?
undoubtedly, but as I said, people have said that
Batik's rendering of Arabic is pretty good.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<g id="BoxGroup1" transform="translate(20,41)" > <rect id="Box1" x="30" y="30" width="100" height="50" rx="5" ry="5" fill="url(#normal)"/> <rect id="TransBox1" x="30" y="30" width="100" height="50" rx="5" ry="5" stroke="black" stroke-width="1" fill="none" pointer-events="visible" stroke-dasharray=""/> <text id="boxtext_ar_1" y="30" x="80" text-anchor="middle" pointer-events="none" font-size="8pt" font-style="normal" font-family="Traditional Arabic" startOffset="0"> <tspan x="80" dy="27">اÙÙ Ø¨ÙØ¹Ø§Øª</tspan> </text> </g>
<<attachment: Output.jpg>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
