I use XSL-FO because I didn't know there was another way to do it.
Here is a svg file :
leplatre.free.fr/pub/arabic.svg
Here is the XSL I made :
http://leplatre.free.fr/pub/embed.xsl
...sorry my question will sound stupid but in which configuration file
can I put this xml-handler tag ?
Thank you Jeremias for your extremely fast reaction time !
Jeremias Maerki wrote:
It could be a flaw in the PDFTextPainter. If you provide a sample SVG
file I can verify that. You don't say if you're converting through the
PDFTranscoder or via XSL-FO. If you go via XSL-FO you can set:
<xml-handler namespace="http://www.w3.org/2000/svg">
<stroke-text>true</stroke-text>
</xml-handler>
...as a direct child of the "renderer" element for the PDF renderer in
the configuration file.
The PDFTranscoder currently doesn't support disabling the PDFTextPainter.
Note: The above is only tested on the latest FOP Trunk. I can't
guarantee without verifying if 0.91beta behaves the same way.
On 06.04.2006 15:27:58 Mathieu Leplatre wrote:
Hi all,
I use fop to convert SVG files to PDF.
My SVG contains UTF8 strings in arabic (direction right to left).
Encoding and such characters are supported but the words are misplaced
(it looks like the origin (x,y) is placed at ( x + lenght, y ).
Here is an example to figure it out :
http://leplatre.free.fr/pub/examplearabic.png
Is it a known bug ? I didn't see anything about this in 0.92 change log...
Does someone know a trick for this ?
Thank you very much
Jeremias Maerki
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Mathieu Leplatre
Météo France International
GSM: +974 579 3608
Fax: +974 436 5086
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]