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

Table cell padding reversed in RTL mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3
    • None
    • renderer/pdf
    • None
    • Win10

    Description

      I've included a sample for LTR and the same file modified for RTL by just switching the writing mode.  The columns flip, and anything with start/end should flip, with anything left/right remaining the same.  It looks like the cell padding left/right/start/end are all reversed in RTL mode.  Its hard to tell from the example, as the border boxes are offset (which I reported separately), but all of the alignments look to be correct.

      I poked around to see what other free processors I could try, and there was an online version (old) of RenderX, which I included their output.  The only problem there was the first 5 rows which have left/right alignment, which should have been flipped.

      Attachments

        1. run.bat
          0.2 kB
          Robert Flaherty
        2. rtl.xml
          12 kB
          Robert Flaherty
        3. rtl.renderx.pdf
          6 kB
          Robert Flaherty
        4. rtl.pdf
          13 kB
          Robert Flaherty
        5. ltr.xml
          12 kB
          Robert Flaherty
        6. ltr.renderx.pdf
          6 kB
          Robert Flaherty
        7. ltr.pdf
          13 kB
          Robert Flaherty
        8. LiberationSans-Regular.ttf
          157 kB
          Robert Flaherty
        9. LiberationSans-Italic.ttf
          178 kB
          Robert Flaherty
        10. LiberationSans-BoldItalic.ttf
          153 kB
          Robert Flaherty
        11. LiberationSans-Bold.ttf
          157 kB
          Robert Flaherty
        12. fo-config.xml
          2 kB
          Robert Flaherty

        Activity

          People

            Unassigned Unassigned
            rflahert Robert Flaherty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: