ICEpdf
  1. ICEpdf
  2. PDF-175

Implement Pattern Tiling Support

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.1
    • Fix Version/s: 4.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      -

      Description

      Implement section 4.6.2 of the the PDF specification.

        Activity

        Tyler Johnson created issue -
        Tyler Johnson made changes -
        Field Original Value New Value
        Salesforce Case [5007000000C2Fk3]
        Tyler Johnson made changes -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22022 Mon Jul 26 10:08:29 MDT 2010 patrick.corless PDF-175 addition of tilings upport to content parser and rendering core.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/ContentParser.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/TilingPattern.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/Shapes.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Stream.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22023 Mon Jul 26 10:18:29 MDT 2010 patrick.corless PDF-175 fixed small painting issue with sample pdf with regards to painting the pattern vs. the uncolour.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/ContentParser.java
        Hide
        Patrick Corless added a comment -

        Spent a couple days on this as it seems to come up often enough from our support group. As far as I can tell it is working correctly. I did have some problems with patterns that hat a matrix containing a shear as pattern paint in Java doesn't support an affine transform for the paint type. I got around the problem by extending the tile around the centre tile. The bbox clip takes care of any painting issue and the end result is consistent with what acorbat renders.

        There is still an issue with uncoloured pattern paints not working perfectly but I'll need to get more examples to figure out what is going wrong. Over all very happy with the speed and quality of the pattern renderings.

        Show
        Patrick Corless added a comment - Spent a couple days on this as it seems to come up often enough from our support group. As far as I can tell it is working correctly. I did have some problems with patterns that hat a matrix containing a shear as pattern paint in Java doesn't support an affine transform for the paint type. I got around the problem by extending the tile around the centre tile. The bbox clip takes care of any painting issue and the end result is consistent with what acorbat renders. There is still an issue with uncoloured pattern paints not working perfectly but I'll need to get more examples to figure out what is going wrong. Over all very happy with the speed and quality of the pattern renderings.
        Patrick Corless made changes -
        Fix Version/s 4.1 [ 10227 ]
        Hide
        Patrick Corless added a comment -

        Fixed a small issue with the text file but all is good otherwise. Closing.

        Show
        Patrick Corless added a comment - Fixed a small issue with the text file but all is good otherwise. Closing.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22030 Tue Jul 27 05:09:50 MDT 2010 patrick.corless PDF-175 added post tile painting clean up calls and missing resources patch.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Resources.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/TilingPattern.java
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: