mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 14:01:10 +01:00
Use HB_BUDGET_GLYPH as the common finite default for VARC and the in-house draw and paint backends. Raster paint retains its surface-size scaling so large targets still permit a small number of full passes. Remove redundant exhaustion checks around hb_budget_spend(). A spend that lands exactly on zero succeeds; only a negative live value latches exhaustion. Apply the same boundary consistently to postcharged renderer work and cover the next positive-cost attempt in tests. The full Meson suite passes, as do the full TSan suite and the three rendering regression seeds under ASan and UBSan. Assisted-by: OpenAI Codex <codex@openai.com>