My fault once again, it should be "rl-tb" not "rltb". The full list defined
by XSL-FO is:

*Value:*lr-tb | rl-tb | tb-rl | tb-lr | bt-lr | bt-rl | lr-bt | rl-bt |
lr-alternating-rl-bt | lr-alternating-rl-tb | lr-inverting-rl-bt |
lr-inverting-rl-tb | tb-lr-in-lr-pairs | lr | rl | tb | inherit *Initial:*
lr-tb

However, FOP (trunk) only supports the following values:

lr-tb
rl-tb
lr
rl

Regards, Glenn

On Wed, Jun 20, 2012 at 1:58 PM, Christian Pestel <
christian.pes...@orange.fr> wrote:

>   Thank you Gleen,
>
> <fo:table  writing-mode="rl" > + <fo: block>
> works fine.
>
> but
> <fo:table  writing-mode="rltb" > + <fo: block>
> don’t work. (RLTB=RightToLeft and TopToBottom)
> The text is left align in the first cell.
>
> “This should cause the table to place the first column right-most” seems
> not to work in my attached fo sample (or I did not understand !)
> Thank for your advice.
>
>
> **
>
> Christian Pestel****
>
> christian.pes...@orange.fr <cpes...@bdoc.com>
>
>  *From:* Glenn Adams <gl...@skynav.com>
> *Sent:* Wednesday, June 20, 2012 7:05 PM
> *To:* fop-users@xmlgraphics.apache.org
> *Subject:* Re: Arabic text rendered without ligature in a table cell;
>
> Sorry, that should be writing-mode="rl" or writing-mode="rltb". This
> should cause the table to place the first column right-most, and also make
> each paragraph's default bidirectional level right-to-left, thus causing
> right alignment by default.
>
> On Wed, Jun 20, 2012 at 12:21 PM, Christian Pestel <
> christian.pes...@orange.fr> wrote:
>
>>   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****
>>
>> christian.pes...@orange.fr <cpes...@bdoc.com>
>>
>>  *From:* Glenn Adams <gl...@skynav.com>
>> *Sent:* Wednesday, June 20, 2012 4:51 PM
>> *To:* fop-users@xmlgraphics.apache.org
>> *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 text-align="right".
>>
>> On Wed, Jun 20, 2012 at 10:35 AM, Christian Pestel <
>> christian.pes...@orange.fr> wrote:
>>
>>>   Arabic text seems not well rendered in a fo: table-cell although it
>>> is well rendered in a fo: block.
>>> I use Fop Trunk.
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>

Reply via email to