cadcraft/crates/fonts/src
Valentin Klein 71706f8e6a
TL/ML/BL text is placed by its alignment point (fixes #342) (#346)
For every justification but baseline-left (and aligned/fit) the DXF
Reference makes group 11 the point the text is placed by; group 10 is a
computed point on the baseline. Left-justified text with a vertical
alignment was drawn, measured and picked from group 10 and then shifted
by the alignment again: TL and ML too low, BL too high. The renderer
(fonts::place) and text extents (doc text_box, used for picking) now
place it from the alignment point; a mirrored (extrusion 0,0,-1) TL/ML/BL
text keeps its alignment point when it turns right-justified; and the
Properties position moves justified text by its alignment point.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 17:31:56 -04:00
..
lib.rs TL/ML/BL text is placed by its alignment point (fixes #342) (#346) 2026-10-10 17:31:56 -04:00
mtext.rs Linux: default to XWayland for file drag-and-drop on Wayland desktops (#159) 2026-10-10 12:58:26 -04:00
stroke.rs M0: CADCraft skeleton and vertical slice 2026-10-05 23:22:25 -04:00
ttf.rs Linux: default to XWayland for file drag-and-drop on Wayland desktops (#159) 2026-10-10 12:58:26 -04:00