Port the glyphy library into harfbuzz as a new hb-gpu module,
following the hb-raster / hb-vector library pattern. The module
encodes glyph outlines into compact RGBA16I blobs for GPU rendering
using the Slug algorithm.
Fixes https://github.com/harfbuzz/harfbuzz/issues/5877
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
Raster and vector libraries were configurable, but hb-features.h.in
did not expose matching HB_HAS_* macros.
Set HAVE_RASTER and HAVE_VECTOR during configuration, include both
features in the generated hb-features.h list, and add them to the
gtk-doc section index.
Testing: meson test -C build
Assisted-by: OpenAI Codex
Show zlib in the configure summary next to libpng for the\nraster library dependencies.\n\nTesting:\n- meson setup build --reconfigure\n\nAssisted-by: OpenAI Codex
The raster SVG path treated hb_ot_color_glyph_reference_svg()
blobs as plain XML, even though SVG table documents may
legally be gzip encoded. That caused hb-raster to reject
fonts that store compressed SVG documents.
Detect gzip payloads in the raster SVG renderer, reject
documents whose advertised uncompressed size exceeds
HB_SVG_MAX_DOCUMENT_SIZE, and inflate the rest through
zlib while keeping the same size cap enforced during
decompression. Plain SVG documents are also bounded by the
same 16 MiB limit.
Add a raster API regression that renders the existing
plain and compressed noto_handwriting SVG fixtures and
verifies identical output.
Testing:
- meson test -C build
Assisted-by: OpenAI Codex
Drop support for CMake-built FreeType which complicates things and makes
freetype dependency behave differently (it does not respect --wrap-mode,
for instance).
We don’t want to care about CMake-build dependencies, if they behave
differently that is on them.
The WrapDB ICU wrap switched from the transitional "icu-uc = icuuc_dep"
syntax to the recommended "dependency_names = icu-uc", which apparently
broke our fallback path because we passed a components: argument to
dependency() for CMake (mesonbuild/meson#14979). Per review guidance,
drop support for CMake-built ICU.
* [util] Respect HB_NO_FEATURES_H macro
For builds using harfbuzz.cc and no features file.
* Kill PACKAGE_NAME and PACKAGE_VERSION
Remnants of autotools.
* [BUILD.md] Update