ICEpdf
  1. ICEpdf
  2. PDF-318

Shaded graphic not being painted

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.2.1
    • Fix Version/s: 6.4
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      PDF in question is not rendering correctly. Need to investigate further.

        Activity

        Patrick Corless created issue -
        Hide
        Patrick Corless added a comment -

        Pushing to 4.3.

        Show
        Patrick Corless added a comment - Pushing to 4.3.
        Patrick Corless made changes -
        Field Original Value New Value
        Salesforce Case []
        Fix Version/s 4.3 [ 10266 ]
        Fix Version/s 4.2.2 [ 10265 ]
        Hide
        Patrick Corless added a comment -

        The PDF in question uses a Type 7 Shading (Tensor-Product Patch Meshes) type which isn't currently supported by the rendering core. To make matters worse the shape isn't strokes so not even a trace of the graphic is present.

        In order to fix this we would need to implement Type 7 Shading. On interesting note about the shading fill is that if no fill can be resolved then no fill is added to the shapes stack. In the future we could probably add a basic solid fill based on the current fill colour to avoid completely missing content.

        Show
        Patrick Corless added a comment - The PDF in question uses a Type 7 Shading (Tensor-Product Patch Meshes) type which isn't currently supported by the rendering core. To make matters worse the shape isn't strokes so not even a trace of the graphic is present. In order to fix this we would need to implement Type 7 Shading. On interesting note about the shading fill is that if no fill can be resolved then no fill is added to the shapes stack. In the future we could probably add a basic solid fill based on the current fill colour to avoid completely missing content.
        Patrick Corless made changes -
        Salesforce Case []
        Patrick Corless made changes -
        Salesforce Case []
        Fix Version/s 5.0 [ 10314 ]
        Fix Version/s 4.3 [ 10266 ]
        Patrick Corless made changes -
        Fix Version/s 5.1 [ 10675 ]
        Fix Version/s 5.0 [ 10314 ]
        Arran Mccullough made changes -
        Support Case References Support Case #12907 - https://icesoft.my.salesforce.com/5007000000dugM6
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42111 Thu Aug 14 10:42:01 MDT 2014 patrick.corless PDF-318 added some temp paint code to insure some fill is applied for shadding types 5 to 7
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Hide
        Patrick Corless added a comment -

        I've looking little closer into scoping out Type 5-7 Shading types and believe we are looking at around 3-4 weeks of dedicated work to implement this feature. For the time being I've added some code that will apply the current fill colour in the graphic state along with an alpha value. The overall effect is better then painting no fill.

        Show
        Patrick Corless added a comment - I've looking little closer into scoping out Type 5-7 Shading types and believe we are looking at around 3-4 weeks of dedicated work to implement this feature. For the time being I've added some code that will apply the current fill colour in the graphic state along with an alpha value. The overall effect is better then painting no fill.
        Patrick Corless made changes -
        Fix Version/s 5.2 [ 10970 ]
        Patrick Corless made changes -
        Fix Version/s 5.1 [ 10675 ]
        Patrick Corless made changes -
        Fix Version/s 5.3 [ 12070 ]
        Fix Version/s 5.2 [ 10970 ]
        Patrick Corless made changes -
        Fix Version/s 6.2 [ 12974 ]
        Fix Version/s 6.1 [ 12070 ]

          People

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

            Dates

            • Created:
              Updated: