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

Pascal Sancho commented on FOP-2352:
------------------------------------

Hi,

Please, for FOP usage related question, ask 1st on fop-user list.

That said,

'#' is used when required glyph is not available in the font (see FAQ 6.2 at 
[1]).

That can be caused by:
 - either the used font is not a Unicode one, so the code points do not match 
to character numbers
 - or your font is a Unicode one, but doesn't carry arabic subset.

I suspect you meet the former case: your font (أوقات رومانية in your example) 
carries the arabic glyphes, but char codes are offset.
In addition, complex script feature uses GPOS and SUBST tables (very usefull 
for arabic), and not all font files carry them.

If confirmed, you should change your font and use one that is known to work 
like a charm with FOP (see list at [2]).

[1] http://xmlgraphics.apache.org/fop/faq.html#pdf-characters
[2] http://xmlgraphics.apache.org/fop/1.1/complexscripts.html#fonts_arabic


> 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
(v6.2#6252)

Reply via email to