Ticket #86 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

division by zero when text label moved between multiple loops

Reported by: artem Owned by: artem
Priority: Milestone: 0.5.0
Component: Core Library Version: 0.5.0
Severity: Critical Keywords: placement
Cc: Patch Needs Improvement:
Needs Docmentation: Has Patch?:
Design Decision Needed:

Description

In placement_finder.cpp, when text labels moved along path, multiple loops (i.e Polygon with holes) can create division by zero condition.

Attachments

debug-path.patch (2.0 kB) - added by artem 2 years ago.
placement-debug.patch (2.8 kB) - added by artem 2 years ago.
placement-invalid.patch (1.1 kB) - added by jburgess 2 years ago.
Patch to disallow placement if segment_length=0

Change History

Changed 2 years ago by artem

Changed 2 years ago by artem

Changed 2 years ago by jburgess

Patch to disallow placement if segment_length=0

Changed 2 years ago by dom

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.