mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
Skip the SVG table accelerator and do not define the public SVG color APIs when HB_NO_SVG is set. Guard internal callers so SVG-table-dependent code compiles out cleanly, and add HB_NO_SVG to the HB_TINY profile. Tested: meson setup build-nosvg -Dc_args=-DHB_NO_SVG -Dcpp_args=-DHB_NO_SVG Tested: meson compile -C build-nosvg hb-shape hb-info hb-vector main Tested: meson compile -C build-nosvg (libharfbuzz/libharfbuzz-raster/libharfbuzz-vector linked; full tree stopped on unrelated missing chafa.h in util/hb-raster.cc) Tested: nm -gU build-nosvg/src/libharfbuzz.0.dylib | grep -E "hb_ot_color_.*svg" (no matches) Assisted-by: OpenAI Codex