ICEpdf
  1. ICEpdf
  2. PDF-677

Irregular dash array causing JVM to crash

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.4
    • Fix Version/s: 5.0.5
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      The documents in question are generated using a very add dash array which is used to define a dashed line. The dash is defined as [ 7.617188 152407.6 ] 0 d where the dash would start at unit zero, paint 7.6 units and no paint for 152407 units which would paint a very unusual line.

      My best guess here is that the PDF encoder isn't applying the current users space transform for the first value. We can correct for this discrepancy and the end result is a line that is very close to hat acrobat does and the JVM no longer crashes when trying to paint the dashed line.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: