Commit Graph
15861 Commits
Author SHA1 Message Date
Behdad Esfahbod 19f54f2cfd Merge pull request #5784 from harfbuzz/downgrade-cff-hintmask
[subset] Fix CFF2->CFF1 specializer hintmask encoding
2026-03-04 12:55:54 -07:00
Khaled Hosny 1cd38d1c56 [meson] Add thread_dep to harfbuzz-subset as well
Adapted patch from:
https://git.libreoffice.org/core/+/8f6d4fb1a4bbb689ca748dd033ceaa87d94a1a3d%5E%21
2026-03-04 19:58:32 +02:00
Khaled Hosny 64ad598432 [vector] Move documentation to .cc when applicable 2026-03-04 19:04:12 +02:00
Behdad EsfahbodandClaude Opus 4.6 6a1c028a61 [buffer] Add hb_buffer_changed() (#5755)
* [buffer] Add hb_buffer_changed()

To be called by message callbacks if they modify buffer glyph indices,
to update internal caches (currently the buffer digest).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [buffer] Implement changed() callback and hook up to OT shaper.

* Only install buffer changed() callback if messaging enabled

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 09:16:54 -07:00
Khaled Hosny b91d4b8d75 Add meson options to disable building harfbuzz-subset 2026-03-04 18:12:45 +02:00
Khaled Hosny 72ee0c2dfd Add meson options to disable building harfbuzz-vector 2026-03-04 18:12:45 +02:00
Khaled Hosny 9520926168 Add meson options to disable building harfbuzz-raster 2026-03-04 18:12:45 +02:00
Behdad Esfahbod 2c3a86ac06 [vector] Fix SVG Y translation sign 2026-03-03 15:45:25 -03:00
Behdad Esfahbod c8b6b6895c Minor generator provenance change 2026-03-03 06:27:43 -03:00
Behdad Esfahbod 47097cf697 Add Rust output to vowel constraints generator 2026-03-03 06:18:08 -03:00
Behdad Esfahbod aca9c03470 Add Rust output to tag table generator 2026-03-03 06:12:35 -03:00
Behdad Esfahbod 440aa7960a Optimize tag table language mapping layout 2026-03-03 05:57:33 -03:00
Behdad Esfahbod 93175405e9 Add Rust output to emoji generator 2026-03-03 05:38:25 -03:00
Behdad Esfahbod 80c5b48db0 Add Rust output to Arabic and Indic generators 2026-03-03 05:28:38 -03:00
Behdad Esfahbod 9c0d20edad Regenerate Unicode tables with packtab annotations 2026-03-02 15:57:03 -03:00
Behdad Esfahbod d83b9ce0bd Improve Unicode tables regeneration workflow 2026-03-02 15:39:57 -03:00
Behdad Esfahbod 4bf74ddbe2 Update Unicode tables makefile for Arabic PUA 2026-03-02 15:36:46 -03:00
Behdad Esfahbod 172938b641 Use packtab for Indic shaper table 2026-03-02 15:11:59 -03:00
Behdad Esfahbod 965fe2fa58 Clean up Arabic PUA packtab symbols 2026-03-02 13:49:56 -03:00
Behdad Esfahbod 3c5bcbb687 [arabic-joining] Rename table
Fixes clash.
2026-03-02 01:53:22 -03:00
Behdad Esfahbod 6e778ea051 Use packtab for Arabic joining table 2026-03-02 01:39:16 -03:00
Behdad Esfahbod 5f36467522 [arabic] Change a couple enum values
No semantic change.
2026-03-02 01:04:13 -03:00
Ramin Farajpour Cami f391d3ea2a [buffer] Disallow hb_buffer_set_message_func during callback (#5766)
Reject re-entrant calls to hb_buffer_set_message_func() when
called from within a message callback (message_depth > 0).

Previously, calling hb_buffer_set_message_func() from inside a
message callback would destroy the old user_data via the destroy
callback while the current callback still held a reference to it,
leading to a use-after-free.

Fixes: GHSA-h4c3-cvr5-ccq2
2026-02-27 08:26:13 -07:00
Behdad Esfahbod e550176a49 [docs] Normalize custom palette API wording across paint/raster/vector 2026-02-26 21:08:00 -03:00
Behdad Esfahbod b7e019973c [raster] Keep custom palette docs out of hb-raster.h 2026-02-26 17:17:18 -03:00
Behdad Esfahbod 8dc76787fc [raster] Align custom palette API docs with vector 2026-02-26 17:16:08 -03:00
Behdad Esfahbod 781bcead34 [vector] Document and wire custom palette paint APIs 2026-02-26 17:13:03 -03:00
Behdad Esfahbod 51c599ccb9 [vector] Hook --custom-palette in hb-vector paint output 2026-02-26 16:18:56 -03:00
Behdad Esfahbod fbf3c1e218 Fix Coverity issues 2026-02-26 14:03:49 -03:00
Behdad Esfahbod 3c94b1c061 [raster] Compile out all raster SVG translation units with HB_NO_RASTER_SVG 2026-02-26 01:57:39 -03:00
Behdad Esfahbod 52683b3c1c [raster] Add compile-time HB_NO_RASTER_SVG guard 2026-02-26 01:57:39 -03:00
Behdad Esfahbod 6367026d6b [raster] Add length guards to style property dispatch 2026-02-26 01:33:17 -03:00
Behdad Esfahbod 9a56516501 [raster] Group style property dispatch by first letter 2026-02-26 01:32:04 -03:00
Behdad Esfahbod bbd0635b9a [raster] Fast-path common style properties in SVG style parser 2026-02-26 01:30:26 -03:00
Behdad Esfahbod 8fa382dd67 [raster] Guard arc angle math against zero-length vectors 2026-02-26 01:29:50 -03:00
Behdad Esfahbod 16256caf0b [raster] Validate and clamp radial gradient radii 2026-02-26 01:29:40 -03:00
Behdad Esfahbod b3a0ce0e16 [raster] Churn callsites to hb_svg_str_t ASCII-ci methods 2026-02-26 01:28:01 -03:00
Behdad Esfahbod 5a3e4a7750 [raster] Add ASCII-insensitive compare methods to hb_svg_str_t 2026-02-26 01:26:52 -03:00
Behdad Esfahbod faa4c66c38 [raster] Cap gradient href inheritance chain depth 2026-02-26 01:26:29 -03:00
Behdad Esfahbod c965666783 [raster] Match clip-path 'none' keyword case-insensitively 2026-02-26 01:25:43 -03:00
Behdad Esfahbod 9f21f45d3f [raster] Parse SVG transform function names case-insensitively 2026-02-26 01:25:28 -03:00
Behdad Esfahbod 5659d5dc89 [raster] Simplify gradient style parsing path 2026-02-26 01:24:53 -03:00
Behdad Esfahbod edf70c23d7 [raster] Parse clipPathUnits values case-insensitively 2026-02-26 01:24:20 -03:00
Behdad Esfahbod d48d888b38 [raster] Handle hidden gradient stops and monotonic offsets 2026-02-26 01:24:09 -03:00
Behdad Esfahbod 520928c4e4 [raster] Add radial gradient fr support 2026-02-26 01:18:40 -03:00
Behdad Esfahbod 5427e20e20 [raster] Match preserveAspectRatio align tokens case-insensitively 2026-02-26 01:17:56 -03:00
Behdad Esfahbod 34438c8bdf [raster] Parse gradient spread/units values case-insensitively 2026-02-26 01:17:42 -03:00
Behdad Esfahbod a70d4189bc [raster] Support style fallback for gradient geometry and attrs 2026-02-26 01:17:12 -03:00
Behdad Esfahbod 062fa57c85 [raster] Use hb_decycler_t for gradient href cycle detection 2026-02-26 01:16:21 -03:00
Behdad Esfahbod a4b05d135d [raster] Centralize SVG container tag checks 2026-02-26 01:15:54 -03:00