typst-bytefield
typst-bytefield copied to clipboard
Flag label wrapping at bit column width despite being rotated
Using the flag() function, labels that exceed a single bit width are wrapped despite being rotated and thus fitting vertically, as shown in the first screenshot.
fig. 1: Label wrapping incorrectly
Adding reflow: true in rotate() (line 95 of api.typ) fixes the incorrect wrapping.
fig. 2 : Correct labelling
I'll open a PR later if I don't forget, but lemme know if such a small fix really warrants a PR.