Commit Graph
306 Commits
Author SHA1 Message Date
Khaled Hosny c7a7457b73 14.6.0 2026-10-05 23:11:34 +03:00
Khaled Hosny eb033319fc 14.5.1 2026-10-01 02:34:38 +03:00
Khaled Hosny 863d3f7787 14.5.0 2026-09-21 00:41:07 +03:00
Khaled Hosny 36cb489cb0 14.4.0 2026-08-26 22:27:05 +03:00
Khaled Hosny ab5ecbb839 14.3.1 2026-08-13 01:49:23 +03:00
Khaled Hosny 4c2aa80467 14.3.0 2026-07-31 17:49:40 +03:00
Khaled Hosny 56feae4035 14.2.1 2026-06-02 14:30:59 +03:00
Sergei Lopatin ef1b37502a [ft] Bump minimum freetype version to 2.8.0 (20.0.14)
e31ea830c8 added use of FT_Set_Default_Properties,
which was introduced in FreeType 2.8.

Reference: https://freetype.org/freetype2/docs/reference/ft2-module_management.html#ft_set_default_properties
2026-04-30 19:29:02 +03:00
Khaled Hosny b0ffab42d4 14.2.0 2026-04-20 05:10:48 +02:00
Khaled Hosny cfb70b0b91 14.1.0 2026-04-04 20:31:18 +02:00
Khaled Hosny da69b6585c 14.0.0 2026-04-01 14:54:05 +02:00
Behdad Esfahbod 93aab15340 [gpu] Add new hb-gpu module for GPU glyph encoding
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>
2026-03-26 18:16:19 -06:00
Khaled Hosny 6f4c5cec30 13.2.1 2026-03-19 16:09:56 +02:00
Khaled Hosny 5ad3909af4 13.2.0 2026-03-19 00:45:24 +02:00
Khaled Hosny 70b812d8d2 13.1.1 2026-03-13 03:08:03 +02:00
Khaled Hosny a79a8257bb [meson] Add options for libpng and zlib 2026-03-12 17:36:39 +02:00
Behdad Esfahbod 3786b83fa6 [amalgamation] Add HB_HAS_SUBSET and share SVG helpers (#5835)
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
2026-03-12 08:32:37 -06:00
Behdad Esfahbod a7a077d95c Merge branch 'main' into svgz 2026-03-11 23:55:41 -06:00
Behdad Esfahbod 4da15dadff [meson] Add raster/vector feature macros
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
2026-03-12 02:53:11 -03:00
Behdad Esfahbod 329c733e14 [meson] Report zlib in raster dependency summary
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
2026-03-11 15:50:38 -03:00
Behdad Esfahbod b7e4f5fd62 [raster] Support gzip-compressed SVG documents
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
2026-03-11 14:18:31 -03:00
Khaled Hosny 68d19d6964 13.1.0 2026-03-11 04:01:41 +02:00
Khaled Hosny 37efe6cc09 [meson] Show PNG is summary and re-order sections a bit 2026-03-09 18:18:52 +02:00
Behdad Esfahbod 9c6f4c201f raster: add PNG paint_image support via libpng 2026-03-09 18:18:52 +02:00
Khaled Hosny c298b921d6 13.0.1 2026-03-07 20:25:13 +02:00
Behdad Esfahbod ef8f53fd64 vector: gate localeconv_l and fall back to localeconv
Fixes https://github.com/harfbuzz/harfbuzz/issues/5791
2026-03-06 19:07:29 -07:00
Khaled Hosny a0fc099681 13.0.0 2026-03-04 22:28:50 +02:00
Khaled Hosny 332a7e39e7 [meson] Add subset, raster, and vector to build summary 2026-03-04 19:08:07 +02:00
Khaled Hosny d3114c18ac Add libharfbuzz_raster and libharfbuzz_vector to the libs target 2026-03-04 18:12:45 +02:00
Khaled Hosny b91d4b8d75 Add meson options to disable building harfbuzz-subset 2026-03-04 18:12:45 +02:00
Khaled Hosny b42511e071 12.3.2 2026-01-24 14:09:52 +02:00
Khaled Hosny abcb75a5d1 12.3.1 2026-01-20 23:59:40 +02:00
Behdad Esfahbod 7876939a57 [meson] Disable asserts in release builds
This is not the default for meson for backward-compat reasons.
We really want asserts off in production code.
2026-01-03 17:22:18 -07:00
Khaled Hosny 5a31dd02f0 12.3.0 2025-12-27 21:58:17 +02:00
Khaled Hosny 0426759f2b 12.2.0 2025-11-05 07:18:46 +02:00
Khaled Hosny cb59b347ca 12.1.0 2025-10-01 08:24:34 +03:00
Khaled Hosny 720f1a3b66 12.0.0 2025-09-28 00:55:46 +03:00
Khaled Hosny 7497c41474 11.5.1 2025-09-22 19:58:28 +03:00
Behdad Esfahbod bf8929fbfb 11.5.0 2025-09-12 13:32:38 -06:00
Khaled Hosny da17d4fda4 [meson] Remove "allow_fallback: true" from icu dependency
We don’t do this for any other dependency.
2025-09-07 02:48:00 +03:00
Khaled Hosny 0920469904 [meson] Simplify freetype dependency handling
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.
2025-09-07 02:48:00 +03:00
Benjamin Gilbert 8a92b8f25a [meson] Drop CMake-built ICU support, fixing fallback to wrap >= 77.1-3
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.
2025-09-04 14:44:48 +03:00
Khaled Hosny 22f77d48ab 11.4.5 2025-08-30 11:39:01 +03:00
Khaled Hosny 3420ef0212 11.4.4 2025-08-26 00:57:35 +03:00
Khaled Hosny 9ac9af2554 11.4.3 2025-08-23 11:48:18 +03:00
Khaled Hosny 6b754c3344 11.4.2 2025-08-21 08:40:14 +03:00
Behdad Esfahbod 4a1d4fbf0d harfbuzz.cc hb-shape (#5474)
* [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
2025-08-17 17:12:22 -06:00
Behdad Esfahbod 6b285e6e94 11.4.1 2025-08-13 11:59:30 -06:00
Behdad Esfahbod 8c859f2528 11.4.0 2025-08-13 11:47:38 -06:00
Behdad Esfahbod 4df970fcbe Merge tag '11.3.3'
11.3.3
2025-07-26 14:07:11 -06:00