ICEpdf
  1. ICEpdf
  2. PDF-928

Annotations without appearance streams are no longer rendering

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0_P01
    • Fix Version/s: 6.0.1
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      Any

      Description

      A forum user has pointed out an issue with 6.0 where annotations without content streams are not being rendered. This issue is unfortunate as changes where made to try to avoid resenting the content stream unnecessarily.

      Closer inspections reveals that this bug has been in the core for some time as the underling annotation Object will not regenerate the appearance stream if missing. The old behavior worked well for the Viewer RI but if a page was rendering using the core API the annotation missing appearance stream would not be created.

        Activity

        Hide
        Patrick Corless added a comment -

        The base annotation objects have been updated to insure that if there is no appearance stream then one will be generated. This addresses both a headless print as well as the viewer RI components. It should be noted that the test is done in each annotation implementation init() method this insures that all need properties have been correctly parsed and the annotation is in a state that the regenerate appearance state will work correctly.

        Show
        Patrick Corless added a comment - The base annotation objects have been updated to insure that if there is no appearance stream then one will be generated. This addresses both a headless print as well as the viewer RI components. It should be noted that the test is done in each annotation implementation init() method this insures that all need properties have been correctly parsed and the annotation is in a state that the regenerate appearance state will work correctly.
        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:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: