[ 
https://issues.apache.org/jira/browse/FOP-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14205588#comment-14205588
 ] 

Glenn Adams commented on FOP-2426:
----------------------------------

The problem is that you specified language="en" on page-sequence. The values of 
the language and script properties are used to control how font tables are 
selected. Here, you have basically said to FOP that it should use the English 
(en) font tables for all the document content, including Arabic. Since the 
English font tables do not cover Arabic joining behavior, you are getting what 
you asked for. I would suggest you not specify language, or if you must specify 
the top level as "en", then you need to add language="dflt" to each Arabic text 
block.

Also note that you place writing-mode on the root element. It does not apply to 
root, but does apply to page-sequence. See [1] for details.

[1] 
http://xmlgraphics.apache.org/fop/trunk/complexscripts.html#writing_mode_property

> Apache FOP- Arabic Letters are not Joined
> -----------------------------------------
>
>                 Key: FOP-2426
>                 URL: https://issues.apache.org/jira/browse/FOP-2426
>             Project: Fop
>          Issue Type: Bug
>            Reporter: Kumar Thangavel
>         Attachments: Streams3383988751952726569.xml, out.pdf, pdfExport.pdf
>
>
> Hi All , 
> I am trying to generate a PDF report using Apache FOP in Arabic Language . 
> The report generation is working fine but the Character Glyphs are not 
> properly formed and the arabic words are not properly joined.  I have tried 
> with "Arial" font many other fonts which is Suitable for Arabic. eg . 
> "Traditional Arabic", "Simplified Arabic" etc but none of it worked. I am 
> attaching the sample PDF and fo.xml for your reference. Could you please help 
> me sort this issue out. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to