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

Conserve Memory strips NOP from AFP output

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0, 2.5, 2.1
    • None
    • layout/page
    • None
    • Patch

    Description

      When the conserve memory flag is enabled, the CachedRenderPagesModel is enabled, but unfortunately it is missing some code compared to the RenderPagesModel and misses (i.e. doesn't write out) the NOP values when AFP is the output format.

      I have attached a simple Unit Tests and an updated version of the CachedRenderPagesModel which fixes the issue.

      Attachments

        1. CachedRenderPagesModel.java
          6 kB
          Jerome O'Flaherty
        2. ConserveMemoryTestCase.java
          5 kB
          Jerome O'Flaherty

        Activity

          People

            Unassigned Unassigned
            jeromeof Jerome O'Flaherty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: