[xep-support] RTL script and text-align=inside/outside

Benoit Maisonny bm.lists at synclude.com
Wed Jul 4 09:23:22 PDT 2012


Hi,

More trouble with right-to-left scripts: I'm trying to align bilingual
Arabic/English text to the inside edge of the page:

<fo:block text-align="inside"><fo:block-container writing-mode="rl-tb"
font-family="FreeSerif">
                    <fo:block xml:lang="ar-EG">© 2012 القاهرة.</fo:block>
                </fo:block-container><fo:block-container>
                    <fo:block font-style="normal" xml:lang="en-GB">© 2012
Synclude</fo:block>
                </fo:block-container></fo:block>

This does not work as I expected: "inside" becomes outside for Arabic text.
So, inside is no different from left or start. Conversely, "outside"
reverses the alignment: English is indeed outside-aligned but Arabic
becomes inside-aligned.

Regards,
Benoit


!DSPAM:87,4ff46e0a63731223490075!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20120704/aae0a599/attachment.html>


More information about the Xep-support mailing list