Files
harfbuzz/src/wasm
Behdad Esfahbod f222478bcc [wasm] Saturate Graphite positions
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>
2026-08-12 18:27:23 -06:00
..
2023-03-31 17:33:45 -06:00