mirror of
https://github.com/storytold/cadcraft.git
synced 2026-10-27 04:16:48 -06:00
Linetype text elements (FENCELINE1, GAS-style linetypes from DXF files) were drawn as part of the gap. Each text is now placed where the element that carries it ends, at every repeat of the pattern: in its text style's font, at the element's scale times the style's fixed height and the linetype scale, shifted by its X/Y offsets along and across the line, and rotated relative to the line direction or absolutely. Runs drawn continuous (pattern smaller than a pixel) draw no text, and coarse previews without text skip it. Shape elements need SHX shape files, which CADCraft doesn't read, so they still draw nothing. FENCELINE1 carries its circle on the first gap, centred between the two gaps, so it no longer sits on the start of the long dash. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>