I manged to add an Arabic font, with this conf <font metrics-url="KacstBook.xml" kerning="yes" embed-url="file:///usr/share/fonts/kacst/KacstBook.ttf"> <font-triplet name="KacstBook" style="normal" weight="normal"/> </font> but letters in generated pdf files are not joined nor shaped and they are stacked from left to right. when I tried using batik-rasterizer to raster text in same font into pdf it worked
Created attachment 25196 [details] a sample fo text
Created attachment 25197 [details] the rendered pdf using fop
Created attachment 25198 [details] rendered using batik-rasterizer
Added complex script support (bidi, shaping, etc) at revision 1293736. Initial Arabic fonts supported are enumerated at https://skynav.trac.cvsdude.com/fop/wiki/SupportedFonts.