mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 06:51:01 +01:00
Encode used adjacent endpoint equality to infer contour breaks, which fails when two contours touch at the same point. Track contour starts explicitly during accumulation instead, and use that flag when packing shared endpoints. Encode also rounded blob bounds to the nearest quarter unit. That can shrink the encoded extents and clip coverage at glyph edges. Quantize mins downward and maxes upward so the blob header always encloses the actual geometry. Add focused API tests for both regressions. Testing: - meson test -C build Co-authored-by: OpenAI Codex <codex@openai.com>