Canvas boards price headings at the size they paint, and refuse huge cards immediately
A canvas card holding a lot of heading text now costs what it really lays out, so a board of very large heading cards is refused with a clear 400 in milliseconds instead of holding the request for seconds. Ordinary boards render exactly as before.
POST /api/v1/canvas estimates a card's layout work before laying it out,
and that estimate now prices each run of text at its own font size. Headings
are set larger than body text — an Obsidian h1 is about 1.8× the card's body
size — so a heading's characters take roughly 3× the page area of the same
characters set as body text. The estimate used to charge every run at body
size, which under-counted a heading-heavy card by about four times.
The visible effect is on the two ends of the limit. A card with a very large
amount of heading text — 10KB of # headings in a short box, say — used to
be admitted, spend several seconds in layout, and then be refused. It is now
refused immediately with the same 400 { code: "canvas-too-complex", rule: "layout-work" } answer, naming the card and saying to split it. A card that
overflows into a continuation page is also charged for that second copy as
soon as the fit search proves it continues — one shrink probe rather than
two — so the same refusal no longer costs the seconds the probes used to take.
Boards that fit stay unaffected, including boards whose cards shrink to fit. A card the estimate says cannot fit at the smallest shrink step is asked that step first: if it fits there, it renders as before and no continuation charge is taken. Only a probe that confirms the card really continues takes the charge, so an estimate that over-predicts can never refuse a board that still renders.
If a board that used to render now gets the 400, the card named in the response really is holding more layout work than the budget allows — split its text across several cards, make the card larger, or move the long note to its own canvas.
The full model is in the canvas limits section of the API reference.