mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-26 11:27:10 -06:00
Found comparing Microsoft's own specification documents with Word for Windows: their tables of contents were a third taller in WordCraft (13.4 pt per entry against Word's 10.9). Each entry's 9 pt text has tab runs in an 11 pt font, and WordCraft sized the line by them. Measured in Word with 13 synthetic documents: 11-20 pt tabs, spaces and ideographic spaces next to 9 pt text leave the 9 pt line as it is, wherever they are on the line; a line of only such whitespace takes the paragraph mark's height; a big letter or no-break space does grow the line. WordCraft now skips spaces and tabs when it sizes a line, and all 13 cases match. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>