mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 14:01:10 +01:00
Vector SVG extraction still treated SVG table documents as plain text, so svgz payloads worked in raster but failed in hb-vector. Move the gzip helpers into a new internal hb-zlib.hh header and add a shared SVG blob normalization helper in svg.hh. Raster and vector now both normalize SVG documents before doc-cache or rendering/subsetting logic sees them, with the same 16 MiB uncompressed size limit. Also link zlib into harfbuzz-vector when available and add a vector regression that checks matching output for the existing plain and compressed handwriting SVG fonts. Tested: - meson test -C build Assisted-by: OpenAI Codex