You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: a publication's wrapped text can break a layer statistic token across lines #2994
A publication layout stores its texts wrapped with wrap_lines (render/report.rs). A layer statistic token (#2853) whose layer name has a space, such as {count:New York}, can be stored as {count:New and York} on two lines, and a token wider than the column is broken by character. The token is then read with a line break inside it, matches no layer and is drawn as written.
Publication wrapping must keep a statistic token whole. wrap_lines is shared with the reports, so the change needs its own tests there.
Activity
jgregoriorincon commentedon Nov 26, 2026
I'll take this.
fix(layout): a publication's wrapped text keeps a layer statistic who…
feat(layout): a layout text shows a layer's count, sum, mean, min or …