You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Christian Pestel <ch...@orange.fr> on 2012/06/20 16:35:49 UTC
Arabic text rendered without ligature in a table cell;
Hi,
Arabic text seems not well rendered in a fo: table-cell although it is well rendered in a fo: block.
I use Fop Trunk.
Christian Pestel
christian.pestel@orange.fr
Re: Arabic text rendered without ligature in a table cell;
Posted by Christian Pestel <ch...@orange.fr>.
Effectively, with <fo:table writing-mode="rl-tb" > the table has the first column is at right and the second column is at left.
Here is a sample with <fo:page-sequence writing-mode="rl-tb"> which enforce right alignment to block text and table column order and if I wrote text in arabic, the text would be written from right to left.
Thank you very much Gleen for your lighting.
Christian Pestel
christian.pestel@orange.fr
From: Glenn Adams
Sent: Wednesday, June 20, 2012 8:20 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Arabic text rendered without ligature in a table cell;
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 <ch...@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.pestel@orange.fr
From: Glenn Adams
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 <ch...@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.pestel@orange.fr
From: Glenn Adams
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 <ch...@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-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Arabic text rendered without ligature in a table cell;
Posted by Glenn Adams <gl...@skynav.com>.
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.pestel@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.pestel@orange.fr <cp...@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.pestel@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.pestel@orange.fr <cp...@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.pestel@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-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
Re: Arabic text rendered without ligature in a table cell;
Posted by Christian Pestel <ch...@orange.fr>.
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.pestel@orange.fr
From: Glenn Adams
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 <ch...@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.pestel@orange.fr
From: Glenn Adams
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 <ch...@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-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: Arabic text rendered without ligature in a table cell;
Posted by Glenn Adams <gl...@skynav.com>.
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.pestel@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.pestel@orange.fr <cp...@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.pestel@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-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
Re: Arabic text rendered without ligature in a table cell;
Posted by Christian Pestel <ch...@orange.fr>.
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.pestel@orange.fr
From: Glenn Adams
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 <ch...@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.
Re: Arabic text rendered without ligature in a table cell;
Posted by Glenn Adams <gl...@skynav.com>.
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.pestel@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.
>