Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2202

when writing-mode="rl", after spanning block, following contents start on left column instead of right column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1
    • None
    • layout/unqualified
    • None

    Description

      when writing-mode="rl" in a 2 column page, the first column is on the right.
      however, when there is a spanning block, the following contents are on the
      left column instead of the right column!
      please find attached the pdf output

      here is the fo. is there something i am doing wrong, or is this a critical
      issue?

      <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" writing-mode="rl-tb">
      <fo:layout-master-set>
      <fo:simple-page-master page-height="30mm" page-width="50mm"
      master-name="page">
      <fo:region-body column-count="2"/>
      </fo:simple-page-master>
      </fo:layout-master-set>

      <fo:page-sequence master-reference="page">
      <fo:flow flow-name="xsl-region-body">
      <fo:block background-color="yellow">para 1</fo:block>
      <fo:block background-color="gray">para 2</fo:block>
      <fo:block background-color="yellow">para 3</fo:block>
      <fo:block background-color="gray">para 4</fo:block>
      <fo:block background-color="yellow">para 5</fo:block>
      <fo:block background-color="gray">para 6</fo:block>
      <fo:block background-color="yellow">para 7</fo:block>
      </fo:flow>
      </fo:page-sequence>
      <fo:page-sequence master-reference="page">
      <fo:flow flow-name="xsl-region-body">
      <fo:block background-color="yellow" span="all">para 1a, spanned
      column</fo:block>
      <fo:block background-color="gray">para 2a in wrong column</fo:block>
      <fo:block background-color="gray">para 3a</fo:block>
      <fo:block background-color="gray">para 4a</fo:block>
      <fo:block background-color="gray">para 5a</fo:block>
      </fo:flow>
      </fo:page-sequence>
      </fo:root>

      Attachments

        1. out-ar.pdf
          6 kB
          james quest
        2. out-ar.fo
          1 kB
          james quest

        Activity

          People

            Unassigned Unassigned
            quest.james@gmail.com james quest
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: