Infinite loop in Marlin Dasher for huge stroked line

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • 11
    • Affects Version/s: 9, 10
    • Component/s: client-libs
    • None
    • 2d

      In Marlin Dasher (float), the dash generation is hanging (while loop) if the shape is too large (0 to 2E9 line) due to floating-point precision.
      This problem exists also in either Ductus or Pisces in JDK8 (no clipping).

      The Marlin double variant does not have this problem (DMarlinRenderingEngine enabled in JDK10).

      Ideally the Dasher should handle the clip properly to only emit dashes for the visible part (clipping issue) and improve largely the performance

            Assignee:
            Laurent Bourgès
            Reporter:
            Laurent Bourgès
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: