mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 15:01:01 +01:00
SubsetGlyph stores borrowed slices into the source glyf table. Faces created with a table callback may return a fresh blob on each request, so destroying the population accelerator left those slices dangling before they were serialized. Retain the exact glyf blob through serialization. Exercise this path by making the existing create-for-tables test return copied blobs. Reported by WinD39 - Huynh Dinh Vu. Fixes: https://issues.chromium.org/issues/536584255 Assisted-by: OpenAI Codex <codex@openai.com>