Embedding Arabic fonts

Here should go questions about transforming XML with XSLT and FOP.
haobaba1
Posts: 2
Joined: Mon Jul 03, 2006 5:40 pm

Embedding Arabic fonts

Post by haobaba1 »

I am creating my first pdf using xsl fo and have the pleasure of also figuring out how ot handle arabic and eastern european fonts at the same time. Could somebody please be kind enough to explain how to embed the fonts into my document so that they don't all come out as #####.

Thanks
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

There is an atricle [1] on our documentation page[2] that should describe how to add a font to the FOP.

[1] http://www.oxygenxml.com/doc/addFontToFOP.pdf
[2] http://www.oxygenxml.com/documentation.html

Best Regards,
George
sebp
Posts: 1
Joined: Thu Jul 06, 2006 10:07 am

Post by sebp »

I added arabic fonts to FOP. Now it is printing arabic characters but from left to right. As I can see on the FOP compliance page (http://xmlgraphics.apache.org/fop/compliance.html) it is not possible to print right-to-left with FOP. Just to reverse the string makes no sense for arabic script.
Is there any possibility to print arabic script correctly with FOP?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

The FOP processor does not support right to left writing mode. You should try the XEP processor.

Regards,
Sorin
Post Reply