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

Hussein Shafie commented on FOP-2996:
-------------------------------------

Thank you for pointing me to FOP-2426. 

It indeed works (that is, arabic letters are joined) when, in  attached 
"sample2_ar.fo", I replace language="ar"  by language="dflt" on the 
fo:page-sequence.

However I still don't understand why arabic letters are *not joined* when  

1)  language="ar" or language="ara" is found on the fo:root

AND

2) language="ar" or language="ara" is found on the fo:page-sequence

In a nutshell, unlike what happens in the FOP-2426 sample ".fo", it's 
"{_}arabic everywhere{_}" in attached "sample2_ar.fo", yet it does not work.

Please do not close this bug report. IMHO, the author of FOP-2426 simply made a 
mistake, while in the case of "my" FOP-2996, there is really a bug (or at least 
a FOP feature really not practical to use).

Thank you for your help. Thank you for developing FOP.

> Arabic letters are not joined in generated PDF whatever I can try
> -----------------------------------------------------------------
>
>                 Key: FOP-2996
>                 URL: https://issues.apache.org/jira/browse/FOP-2996
>             Project: FOP
>          Issue Type: Bug
>          Components: fo/unqualified
>    Affects Versions: 2.5, 2.6
>         Environment: Any OS; any version of Java. However attached PDFs 
> having been generated on Linux running 1.8.0_281.
>            Reporter: Hussein Shafie
>            Priority: Major
>         Attachments: fop_arialuni.conf, fop_scheherazade.conf, 
> fop_trado.conf, sample2_ar.fo, sample2_ar_FOP_arialuni.pdf, 
> sample2_ar_FOP_scheherazade.pdf, sample2_ar_FOP_trado.pdf, sample2_ar_XEP.pdf
>
>
> Arabic letters _*are not joined*_ whatever in generated PDF I can try: 
> specify language="ar", specify language="arab", specify writing-mode="rl-tb", 
> use one of the fonts you officially support (with the corresponding 
> configuration file).
> Sample Arabic file is: sample2_ar.fo
> Expected output is: sample2_ar_XEP.pdf
> Generating PDF using FOP v2.6 with font "Arial Unicode MS":
>  
> {code:java}
> $ /opt/fop-2.6/fop/fop -c ./fop_arialuni.conf -fo sample2_ar.fo -pdf 
> sample2_ar_FOP_arialuni.pdf{code}
>  
> Generating PDF using FOP v2.6 with font "Scheherazade New":
>  
> {code:java}
> $ /opt/fop-2.6/fop/fop -c ./fop_scheherazade.conf -fo sample2_ar.fo -pdf 
> sample2_ar_FOP_scheherazade.pdf{code}
>  
> Generating PDF using FOP v2.6 with font "Traditional Arabic":
>  
> {code:java}
> $ /opt/fop-2.6/fop/fop -c ./fop_trado.conf -fo sample2_ar.fo -pdf 
> sample2_ar_FOP_trado.pdf
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to