forked from 1b-agent/opencadstudio-upstream
The text-to-line gap used a raw DIMGAP while text height already scaled by DIMSCALE, so dimension text was misplaced whenever DIMSCALE != 1. Thread dim_scale into dimension_text_pos_f64 and text_fill_rect and scale DIMGAP the same way as DIMTXT. Closes #94 Co-Authored-By: Claude Opus 4.8 <[email protected]>