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> |
||
|---|---|---|
| .. | ||
| lib.rs | ||
| mtext.rs | ||
| stroke.rs | ||
| ttf.rs | ||