#7134 closed defect (fixed)

DXF: Fix parsing of complex linetypes

Reported by: Alan Thomas Owned by: Alan Thomas
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: dxf


Complex linetypes (those with text or shapes in the middle) can have two gaps side by side. The DXF driver didn't handle that properly. It also didn't handle the case where a linetype string started with a gap.

I also discovered that the writer was writing out dash segments as gaps, and gaps as dashes. Although, as I noted in #7129, the linetype writer needs a lot of work, this fix should ensure it produces correct output for cases where linetype scaling is not used.

Change History (1)

comment:1 Changed 15 months ago by Alan Thomas

Resolution: fixed
Status: assignedclosed

In 40645:

DXF: Fix parsing of complex linetypes (fixes #7134)

Note: See TracTickets for help on using tickets.