mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
The standalone WebAssembly Graphite shaper mirrors the native backend and had the same unchecked coordinate, cluster, and pen arithmetic. Clamp backend values and saturate its signed position accumulation. This is part of the complete position-overflow fix for issue #6151. Testing: g++ -std=c++17 -Isrc -fsyntax-only src/wasm/graphite/shape.cc Testing: meson test -C build --print-errorlogs Assisted-by: Codex <codex@openai.com>