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

start-indent on list-item is not correctly handled

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 0.95
    • None
    • renderer/pdf
    • None
    • Operating System: Windows XP
      Platform: PC
    • 46294

    Description

      I stumbled across a bug in the PDF Renderer (may also affect other layout engine based renderers - I haven't checked, but doesn't affect RTFHandler) whilst testing a patch for bug 42437. I have attached the test FO to this bug.

      The problem is that the list-body within this FO use body-start() function to control indentation of body, but label is dependent on list-item indentation, since label start-indent is not set.

      The spec defines the body-start() function based on the indentation of list-block and doesn't take the indentation of list-item into account. Therefore the correct result should be an overlapping label and body with the attached FO. However, the PDF Renderer doesn't overlap the label and body, neither does it indent the nested labels or bodies.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            cbowditch Chris Bowditch

            Dates

              Created:
              Updated:

              Slack

                Issue deployment