ICEpdf
  1. ICEpdf
  2. PDF-1206

Empty pages are not marked as initialized

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.5
    • Fix Version/s: 6.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      A customer has a document that has blank pages inserted between pages that lack any pdf content. When a page is initialized we do not set the initialized flag when there is not content. This appears to be a bug.

      When painting a page we return immediately if the page is not initialized and don't paint the background page colour. This appear also to be a short site. The viewer RI always draws a white background before painting so this issue doesn't show up very often.

      It's very easy fix and will be in the next release. The only work aorund at this time would be to draw a white rectangle before writing the PDF content to the image buffer. The black pixels are actually the result of no data being written.

        Activity

        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: