<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16762" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Ben,</FONT></DIV>
<DIV><FONT face=Arial size=2>Actually, I think that note in Section 6.4.13
reinforces my point rather than contradicts it. Perhaps my example was
confusing because I switched two things. I switched both the writing mode
and the margins. If I had switched just writing mode the effect would be
more obvious.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The problem in XEP is that when
writing-mode="rl-tb", then "margin-left" incorrectly appears on the right side
of the page. My reading of the spec in both sections is that "left" means
"left", and is not dependent on the writing mode. It is the "start"
properties mean "left" or "right" depending on the writing-mode.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Bob Stayton<BR>Sagehill Enterprises<BR><A
href="mailto:bobs@sagehill.net">bobs@sagehill.net</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=ben.m.wynn@rrd.com
href="mailto:ben.m.wynn@rrd.com">ben.m.wynn@rrd.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=xep-support@renderx.com
href="mailto:xep-support@renderx.com">xep-support@renderx.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, April 21, 2009 6:25
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [xep-support] Incorrect page
margins when writing-mode="rl-tb"</DIV>
<DIV><BR></DIV><BR><FONT face=sans-serif size=2>Hi Bob,</FONT> <BR><BR><FONT
face=sans-serif size=2>I've looked over Section 5.3 of the spec, but Section
6.4.13 seems to trump it... it says that such mappings don't apply to
the simple-page-master.</FONT> <BR><BR><FONT face=sans-serif
size=2>Specificly: </FONT><BR><FONT face=sans-serif size=2><A
href="http://www.w3.org/TR/xsl/">http://www.w3.org/TR/xsl/</A></FONT>
<BR><FONT face=sans-serif size=2>Section 6.4.13: simple-page-master</FONT>
<BR><BR><FONT face=sans-serif size=2>"""</FONT> <BR><FONT
size=3><B>Note:</B></FONT>
<P><FONT size=3>The reference points for the page-viewport-area
content-rectangle are in terms of the "top", "bottom", "left", and "right"
rather than "before-edge", "after-edge", "start-edge", and "end-edge" because
users see the media relative to its orientation and not relative to the
<B>writing-mode</B> currently in use. </FONT>
<P><FONT face=sans-serif size=2>"""</FONT> <BR><FONT face=sans-serif
size=2>(bolding is from the spec, not mine)</FONT> <BR><BR><FONT
face=sans-serif size=2>-Ben Wynn</FONT> <BR><BR><BR><TT><FONT
size=2>owner-xep-support@renderx.com wrote on 04/20/2009 06:25:09
PM:<BR><BR>> Hi,<BR>> I don't think there was a response to this bug
report. Is this something <BR>> that will be addressed?<BR>>
<BR>> Bob Stayton<BR>> Sagehill Enterprises<BR>>
bobs@sagehill.net<BR>> <BR>> <BR>> ----- Original Message -----
<BR>> From: "Bob Stayton" <bobs@sagehill.net><BR>> To:
<xep-support@renderx.com><BR>> Sent: Friday, March 06, 2009 2:43
AM<BR>> Subject: [xep-support] Incorrect page margins when
writing-mode="rl-tb"<BR>> <BR>> <BR>> >I believe I have found a
bug in XEP's interpretation of margin-left and<BR>> > margin-right on an
fo:simple-page-master when the writing-mode="rl-tb".<BR>> ><BR>> >
I attach two FO files that illustrate the problem:<BR>> ><BR>> >
test-lr.fo is an FO file with writing-mode="lr-tb" on the fo:root
<BR>> > element,<BR>> > and margin-left="1.5in"
margin-right="0.5in" on the fo:simple-page-master<BR>> > with
master-name="body-first"<BR>> ><BR>> > test-rl.fo is an FO file
with writing-mode="rl-tb" on the fo:root element,<BR>> > and
margin-left="0.5in" margin-right="1.5in" on the fo:simple-page-master<BR>>
> with master-name="body-first"<BR>> ><BR>> > Note that the
values of the left and right margins are swapped between the<BR>> > two
files.<BR>> ><BR>> > I also attach the PDF outputs:<BR>>
><BR>> > xep-lr.pdf shows the first page with a left margin of
1.5in and writing<BR>> > mode left-to-right<BR>> ><BR>> >
xep-rl.pdf shows the first page with a left margin of 1.5in and
writing<BR>> > mode right-to-left<BR>> ><BR>> > Note that
the margins are not swapped in the PDF outputs.<BR>> > I believe
xep-rl.pdf should have a left margin of 0.5in, not 1.5in. The<BR>>
> XSL-FO spec section 5.3 says that when writing-mode is rl-tb then left
<BR>> > maps<BR>> > to end and right maps to start. That is
not the case in the PDF files I<BR>> > have attached.<BR>>
><BR>> > Is this a known problem?<BR>> ><BR>> > Bob
Stayton<BR>> > Sagehill Enterprises<BR>> >
bobs@sagehill.net<BR>> ><BR>> > <BR>> <BR>>
-------------------<BR>> (*) To unsubscribe, send a message with words
'unsubscribe xep-support'<BR>> in the body of the message to
majordomo@renderx.com from the address<BR>> you are subscribed
from.<BR>> (*) By using the Service, you expressly agree to these Terms of
Service <BR>>
http://www.renderx.com/terms-of-service.html<BR></FONT></TT></P></BLOCKQUOTE></BODY></HTML>