[amalgamation] Add HB_HAS_SUBSET and share SVG helpers

Add HB_HAS_SUBSET to hb-features.h and wire it through the same
HAVE_* feature plumbing used by the other HB_HAS_* macros.

Refactor the raster/vector SVG helper code so the duplicated
private helpers live in shared internal headers, avoiding
duplicate definitions when sources are combined in a single
translation unit.

Testing: meson compile -C build

Assisted-by: OpenAI Codex
This commit is contained in:
Behdad Esfahbod committed 2026-03-12 11:32:05 -03:00
1 parent 5d4e96ad8d
commit 46b459de63
11 files changed
+395 -781

No files matched your search

+1
View File
@@ -207,6 +207,7 @@ HB_HAS_GOBJECT
HB_HAS_GRAPHITE
HB_HAS_ICU
HB_HAS_RASTER
HB_HAS_SUBSET
HB_HAS_UNISCRIBE
HB_HAS_VECTOR
HB_HAS_WASM