Thank you Gleen,

Without language="fr",  it works fine.

I try  

<fo:table  writing-mode="rtl" > + <fo: block> 
instead of 
<fo:table  > + <fo: block  text-align="right"> 

but this seems do not work.


Christian Pestel

From: Glenn Adams 
Sent: Wednesday, June 20, 2012 4:51 PM
Subject: Re: Arabic text rendered without ligature in a table cell;

Remove the language="fr" attribute from <fo:table/>. The presence of the 
language attribute is to override the font table processing, effectively 
telling FOP to use the French language tables that apply to all text under 
fo:table. But there are no French language tables for the font for Arabic 
script content. 

Also, you may wish to specify writing-mode="rtl" on either fo:page-sequence of 
fo:table (as desired), in which case  you do not need to specify 

On Wed, Jun 20, 2012 at 10:35 AM, Christian Pestel <> 

  Arabic text seems not well rendered in a fo: table-cell although it is well 
rendered in a fo: block.
  I use Fop Trunk.
<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo=""; >
    <fo:simple-page-master master-name="Section_1-Iteration_1" page-width="21cm" page-height="29.7cm" margin-top="0.5cm" margin-bottom="1cm" margin-right="2.5cm" margin-left="2.5cm">
      <fo:region-body margin-top="2cm" margin-bottom="1.5cm"/>
      <fo:region-before region-name="Section_1-Iteration_1-Head" extent="2cm"/>
      <fo:region-after region-name="Section_1-Iteration_1-Foot" extent="1.5cm"/>
  <fo:page-sequence initial-page-number="1" master-reference="Section_1-Iteration_1" >
    <fo:flow flow-name="xsl-region-body">
    <fo:block text-align="right">
                  <fo:inline font-family="ArialUnicodeMS" font-size="26pt">
                    <fo:leader leader-length="0pt"></fo:leader>لاضش
    <fo:table table-layout="fixed" writing-mode="rtl" >
        <fo:table-column column-number="1" column-width="460.6pt"></fo:table-column>
        <fo:table-body start-indent="0pt" end-indent="0pt">
            <fo:table-cell border-style="solid" >      
                  <fo:inline font-family="ArialUnicodeMS" font-size="26pt">
                    <fo:leader leader-length="0pt"></fo:leader>لاضش

Attachment: MODELE_arabe_WithoutLanguageFr_with_WritingMode.fo110.xml.pdf
Description: Adobe PDF document

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to