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

Exception in AbstractBreaker if linefeed-treatment=preserve, page break and different layouts for odd/even pages

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

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1, 2.1
    • None
    • fo/unqualified
    • None
    • VM with SUSE Linux Enterprise Server 12 (64 bit); jdk1.8.0_60 on production server (FOP 1.1), jdk1.8.0_121 on test server (FOP 2.1)

    Description

      If there are different page masters for odd and even pages (with different left/right margins), AND there is an fo:block with linefeed-treatment="preserve", AND a linefeed coincides with a page break (i.e. in "line 1 \n line 2", line 2 doesn't fit on the same page), I get an exception and no PDF is produced.

      Attached is the smallest .fo file with which I could reproduce the exception, as well as command line outputs for FOP 1.1 and 2.1.

      Attachments

        1. fop12_exception.log
          3 kB
          Markus Holländer
        2. fop11_exception.log
          3 kB
          Markus Holländer
        3. fail.fo
          2 kB
          Markus Holländer

        Activity

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

          People

            Unassigned Unassigned
            mhollaender Markus Holländer

            Dates

              Created:
              Updated:

              Slack

                Issue deployment