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

        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: