Fw: [xep-support] Incorrect page margins when writing-mode="rl-tb"

Bob Stayton bobs at sagehill.net
Sat May 29 22:39:36 PDT 2010


Hi,
Has there been any progress on this bug that I reported?  I have looked in the 
WhatsNew.txt for XEP 4.18, and I don't see any mention of it being fixed.  It has been 
over a year since it was reported.  Is it in your system and on some schedule to be 
fixed?

Bob Stayton
Sagehill Enterprises
bobs at sagehill.net


----- Original Message ----- 
From: "Bob Stayton" <bobs at sagehill.net>
To: <xep-support at renderx.com>
Sent: Friday, March 06, 2009 2:43 AM
Subject: [xep-support] Incorrect page margins when writing-mode="rl-tb"


>I believe I have found a bug in XEP's interpretation of margin-left and
> margin-right on an fo:simple-page-master when the writing-mode="rl-tb".
>
> I attach two FO files that illustrate the problem:
>
> test-lr.fo  is an FO file with writing-mode="lr-tb" on the fo:root element,
> and margin-left="1.5in" margin-right="0.5in" on the fo:simple-page-master
> with master-name="body-first"
>
> test-rl.fo is an FO file with writing-mode="rl-tb" on the fo:root element,
> and margin-left="0.5in" margin-right="1.5in" on the fo:simple-page-master
> with master-name="body-first"
>
> Note that the values of the left and right margins are swapped between the
> two files.
>
> I also attach the PDF outputs:
>
> xep-lr.pdf  shows the first page with a left margin of 1.5in and writing
> mode left-to-right
>
> xep-rl.pdf  shows the first page with a left margin of 1.5in and writing
> mode right-to-left
>
> Note that the margins are not swapped in the PDF outputs.
> I believe xep-rl.pdf should have a left margin of 0.5in, not 1.5in.  The
> XSL-FO spec section 5.3 says that when writing-mode is rl-tb then left maps
> to end and right maps to start.  That is not the case in the PDF files I
> have attached.
>
> Is this a known problem?
>
> Bob Stayton
> Sagehill Enterprises
> bobs at sagehill.net
>
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: writing-mode-bug.zip
Type: application/x-zip-compressed
Size: 27081 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20100529/4238713f/attachment.bin>


More information about the Xep-support mailing list