Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.5
    • Fix Version/s: 6.3
    • Labels:
      None
    • Environment:
      any

      Description

      A client has submitted a document that have thin lines that are drawn very faint/light gray at lower zoom levels. They have asked us if there is anything that we can do to compensate for the problem.

      The external graphics state does have a flag to for stroke adjustment but in this particular case the value is false.

        Activity

        Patrick Corless created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.3 [ 13093 ]
        Hide
        Patrick Corless added a comment -

        I've added three system properties to allow an end user to apply their own stroke adjustment regardless of the the external graphics state dictionary. To enable the feature set the system property -Dorg.icepdf.core.strokeAdjustmentEnabled=true, the default value is false.

        Further tweaking can be made with the properties, org.icepdf.core.strokeAdjustmentThreshold=0.09f and org.icepdf.core.strokeAdjustmentValue=0.2f which are the default values. Basically if a line width value is less then the threshold it will be set to the adjustment value.

        Show
        Patrick Corless added a comment - I've added three system properties to allow an end user to apply their own stroke adjustment regardless of the the external graphics state dictionary. To enable the feature set the system property -Dorg.icepdf.core.strokeAdjustmentEnabled=true, the default value is false. Further tweaking can be made with the properties, org.icepdf.core.strokeAdjustmentThreshold=0.09f and org.icepdf.core.strokeAdjustmentValue=0.2f which are the default values. Basically if a line width value is less then the threshold it will be set to the adjustment value.
        Patrick Corless made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52111 Wed Nov 29 11:11:32 MST 2017 patrick.corless PDF-1221 addition of rudimentary stroke adjustment.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/util/content/AbstractContentParser.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #52112 Wed Nov 29 11:17:43 MST 2017 patrick.corless PDF-1221 addition of rudimentary stroke adjustment.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/core-awt/src/main/java/org/icepdf/core/util/Defs.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: