ICEpdf
  1. ICEpdf
  2. PDF-1328

A line width of 0 shall denote the thinnest line that can be rendered at device resolution

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.3.2
    • Fix Version/s: 6.3.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      Not sure how I haven't seen this before but the line in question that isn't being displayed has a hard line thickness of 0 which is well invisible. There is a note in the PDF spec that states:
      A line width of 0 shall denote the thinnest line that can be rendered at device resolution: 1 device pixel wide.

      We can pretty easily compensate for the given CTM scale and specify a none zero stroke that should show up at most zoom levels.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.3.3 [ 13282 ]
        Judy Guglielmin made changes -
        Support Case References Support Case 14500:- https://icesoft.my.salesforce.com/5000g000027q0gd
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #53128 Wed Dec 11 21:24:43 MST 2019 patrick.corless PDF-1328 added detection for zero width lines and attempt to take into
        account current CTM scale when picking a 'thin' line.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/util/content/AbstractContentParser.java
        Hide
        Patrick Corless added a comment -

        Marking as fixed. Added some compensation code for zero width lines, as the spec says we should be painting something regardless.

        Show
        Patrick Corless added a comment - Marking as fixed. Added some compensation code for zero width lines, as the spec says we should be painting something regardless.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: