Files
rivet-typst/src
dromell f4c3fc7f61 fix: measure the description width instead of estimating it
With left-labels a description is placed by subtracting its width from
desc-x. That width was estimated as half the font size per character,
which undershoots Ubuntu Mono's advance of 0.56em by 12%, so the leader
line struck through the last letter of every label, as it does on the
manual's own cover page. Proportional fonts were off by more.

render is now a context block, so the text can be measured instead. The
font has to be passed explicitly: the set rule at the top of render is
not in scope for a measure further down the same context block.
2026-08-25 14:51:19 +02:00
..
2026-06-14 13:24:08 +02:00
2025-04-15 18:19:51 +02:00
2024-05-19 13:27:52 +02:00
2024-05-19 12:18:14 +02:00
2024-05-19 12:18:14 +02:00