mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-26 19:56:48 -06:00
grid.rs measured the digit width once, for an 11pt cell font, and display_text judged how many General digits fit from that whatever the cell's size. 9pt marks such as 100 in columns with a stored width of 4 (common in mark sheets) came out as ##. The width is now measured per cell with its own font and size, as print.rs already does; the shared 11pt measurement and its paint_quadrant parameter go away. Test: a 9pt 100 in a 28px column draws in full, while 123456789 next to it still shows ####. Fails before the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>