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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: