<br><font size=2 face="sans-serif">Hi Bob,</font>
<br>
<br><font size=2 face="sans-serif">I've looked over Section 5.3 of the
spec, but Section 6.4.13 seems to trump it... &nbsp;it says that such mappings
don't apply to the simple-page-master.</font>
<br>
<br><font size=2 face="sans-serif">Specificly: </font>
<br><font size=2 face="sans-serif">http://www.w3.org/TR/xsl/</font>
<br><font size=2 face="sans-serif">Section 6.4.13: simple-page-master</font>
<br>
<br><font size=2 face="sans-serif">&quot;&quot;&quot;</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 &quot;top&quot;, &quot;bottom&quot;, &quot;left&quot;,
and &quot;right&quot; rather than &quot;before-edge&quot;, &quot;after-edge&quot;,
&quot;start-edge&quot;, and &quot;end-edge&quot; because users see the
media relative to its orientation and not relative to the <b>writing-mode</b>
currently in use. </font>
<p><font size=2 face="sans-serif">&quot;&quot;&quot;</font>
<br><font size=2 face="sans-serif">(bolding is from the spec, not mine)</font>
<br>
<br><font size=2 face="sans-serif">-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>
&gt; Hi,<br>
&gt; I don't think there was a response to this bug report. &nbsp;Is this
something <br>
&gt; that will be addressed?<br>
&gt; <br>
&gt; Bob Stayton<br>
&gt; Sagehill Enterprises<br>
&gt; bobs@sagehill.net<br>
&gt; <br>
&gt; <br>
&gt; ----- Original Message ----- <br>
&gt; From: &quot;Bob Stayton&quot; &lt;bobs@sagehill.net&gt;<br>
&gt; To: &lt;xep-support@renderx.com&gt;<br>
&gt; Sent: Friday, March 06, 2009 2:43 AM<br>
&gt; Subject: [xep-support] Incorrect page margins when writing-mode=&quot;rl-tb&quot;<br>
&gt; <br>
&gt; <br>
&gt; &gt;I believe I have found a bug in XEP's interpretation of margin-left
and<br>
&gt; &gt; margin-right on an fo:simple-page-master when the writing-mode=&quot;rl-tb&quot;.<br>
&gt; &gt;<br>
&gt; &gt; I attach two FO files that illustrate the problem:<br>
&gt; &gt;<br>
&gt; &gt; test-lr.fo &nbsp;is an FO file with writing-mode=&quot;lr-tb&quot;
on the fo:root <br>
&gt; &gt; element,<br>
&gt; &gt; and margin-left=&quot;1.5in&quot; margin-right=&quot;0.5in&quot;
on the fo:simple-page-master<br>
&gt; &gt; with master-name=&quot;body-first&quot;<br>
&gt; &gt;<br>
&gt; &gt; test-rl.fo is an FO file with writing-mode=&quot;rl-tb&quot;
on the fo:root element,<br>
&gt; &gt; and margin-left=&quot;0.5in&quot; margin-right=&quot;1.5in&quot;
on the fo:simple-page-master<br>
&gt; &gt; with master-name=&quot;body-first&quot;<br>
&gt; &gt;<br>
&gt; &gt; Note that the values of the left and right margins are swapped
between the<br>
&gt; &gt; two files.<br>
&gt; &gt;<br>
&gt; &gt; I also attach the PDF outputs:<br>
&gt; &gt;<br>
&gt; &gt; xep-lr.pdf &nbsp;shows the first page with a left margin of 1.5in
and writing<br>
&gt; &gt; mode left-to-right<br>
&gt; &gt;<br>
&gt; &gt; xep-rl.pdf &nbsp;shows the first page with a left margin of 1.5in
and writing<br>
&gt; &gt; mode right-to-left<br>
&gt; &gt;<br>
&gt; &gt; Note that the margins are not swapped in the PDF outputs.<br>
&gt; &gt; I believe xep-rl.pdf should have a left margin of 0.5in, not
1.5in. &nbsp;The<br>
&gt; &gt; XSL-FO spec section 5.3 says that when writing-mode is rl-tb
then left <br>
&gt; &gt; maps<br>
&gt; &gt; to end and right maps to start. &nbsp;That is not the case in
the PDF files I<br>
&gt; &gt; have attached.<br>
&gt; &gt;<br>
&gt; &gt; Is this a known problem?<br>
&gt; &gt;<br>
&gt; &gt; Bob Stayton<br>
&gt; &gt; Sagehill Enterprises<br>
&gt; &gt; bobs@sagehill.net<br>
&gt; &gt;<br>
&gt; &gt; <br>
&gt; <br>
&gt; -------------------<br>
&gt; (*) To unsubscribe, send a message with words 'unsubscribe xep-support'<br>
&gt; in the body of the message to majordomo@renderx.com from the address<br>
&gt; you are subscribed from.<br>
&gt; (*) By using the Service, you expressly agree to these Terms of Service
<br>
&gt; http://www.renderx.com/terms-of-service.html<br>
</font></tt>