Glenn Adams commented on FOP-2352:

Firstly, I recommend you test your content first by using the FOP command line 
tools, and not use your custom java driver.

Second, you are specifying a font family name using Arabic text. As far as I 
know, I haven't tested using localized font family names. I would recommend you 
use an ASCII font family name and specify a mapping to the appropriate TTF file 
that implements the font.

Thirdly, you need to keep in mind that Arabic has been tested against only 
those fonts enumerated in the link [2] noted by Pascal above. For other fonts, 
it may or may not work depending on whether they correctly support Arabic using 
the GDEF/GSUB/GPOS openfont tables.

Fourthly, I'm not sure why you are using CDATA in your test file to enclose 
some Arabic text. That is not necessary.

I'm going to leave this issue closed since we don't see a definite issue here 

> Unable to render Arabic Text using Apache FOP
> ---------------------------------------------
>                 Key: FOP-2352
>                 URL: https://issues.apache.org/jira/browse/FOP-2352
>             Project: Fop
>          Issue Type: Bug
>          Components: pdf
>    Affects Versions: 0.95, 1.0, 1.1
>         Environment: Operating System:Windows
> Java version : 1.6
>            Reporter: ramakanthreddy
>            Priority: Critical
>         Attachments: src.zip
> When trying to render arabic text using Apache FOP # is displayed in pdf file 
> instead of arabic text.
> Working fine for french and english but fails for arabic
> Characterset used is : UTF-8
> and StreamSource type is StringReader

This message was sent by Atlassian JIRA

Reply via email to