ICEpdf
  1. ICEpdf
  2. PDF-800

Optimize painting pipeline for sample architecture files.

    Details

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

      Description

      We have many clients that use the library to read very complex architectural diagrams. These PDF's can have missions of shapes and often slow to parse and paint. The bug will capture some of the issue and potential optimizations.

        Activity

        Patrick Corless created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42509 Fri Sep 05 08:39:32 MDT 2014 patrick.corless PDF-800 many small tweaks around the decreasing the number of alpha and clips we add to the shapes stack. Also found an issue where we would block the awt thread to paint selected text even if there wasn't any.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/commands/ClipDrawCmd.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/DeviceCMYK.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/util/content/OContentParser.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/Shapes.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/commands/DrawDrawCmd.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/ICCBased.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/commands/FillDrawCmd.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/viewer/src/org/icepdf/ri/common/views/PageViewComponentImpl.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/commands/NoClipDrawCmd.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/GraphicsState.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42510 Fri Sep 05 08:59:47 MDT 2014 patrick.corless PDF-800 fixed issue where search highlight not working.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/viewer/src/org/icepdf/ri/common/views/PageViewComponentImpl.java
        Hide
        Patrick Corless added a comment -

        Several updates around improving performance on" heavy" shapes PDF docuemnts.

        • limit the number of times we set the alpha draw cmd
        • limit where we can the number of clips we set.
        • clip calculation now use bounds instead of bounds2d where possible.
        • fixe dan awt thread blockign issue which slowed down the initial paint of page.
        • fixed an issue where decode was being applied more then needed.
        Show
        Patrick Corless added a comment - Several updates around improving performance on" heavy" shapes PDF docuemnts. limit the number of times we set the alpha draw cmd limit where we can the number of clips we set. clip calculation now use bounds instead of bounds2d where possible. fixe dan awt thread blockign issue which slowed down the initial paint of page. fixed an issue where decode was being applied more then needed.
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 5.1 [ 10675 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42525 Mon Sep 08 14:27:00 MDT 2014 patrick.corless PDF-800 reverted clip bound checks once again as they cause issue with complex clips.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/commands/ClipDrawCmd.java
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/commands/NoClipDrawCmd.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42592 Fri Sep 19 11:11:46 MDT 2014 patrick.corless PDF-800 added highlight tool to tools which will painted selected text.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/viewer/src/org/icepdf/ri/common/views/PageViewComponentImpl.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: