Behdad Esfahbod
7b56d3a1e5
[ot-layout] s/hb_ot_lookup_cache_t/hb_ot_layout_mapping_cache_t/g
2025-07-26 06:29:10 -06:00
Behdad Esfahbod
09978fc510
[ot] Rename hb_ot_lookup_cache_op_t, and cache to subtable_cache
2025-07-26 06:29:10 -06:00
Behdad Esfahbod
a220479fae
Remove std::forward inside loops ( #5424 )
...
* [iter,cff] Remove std::forward from inside loops
Was moving multiple times, if args were movable.
* [CPAL] Handle an error
* [serialize] Remove another std::forward in a loop
* [bit-page] Fix a static-analysis out-of-range warning
Code was safe. Just rewrite.
* [ot-layout] Remove another std::forward from inside a loop
2025-07-26 06:10:31 -06:00
Behdad Esfahbod
5087e53be9
[perf] Use GOption ( #5422 )
...
* [perf] Don't build benchmarks if no glib
Also remove unnecessary deps.
* [benchmark-shape/font] Port to GOption
2025-07-26 04:02:41 -06:00
Behdad Esfahbod
87aaaf47ce
[ragel] Update artifacts ( #5421 )
2025-07-26 03:51:30 -06:00
Behdad Esfahbod
1a6e58b960
[meson.build] Message
2025-07-26 02:19:24 -06:00
Behdad Esfahbod
66231e854b
Merge pull request #5420 from harfbuzz/duployan-speedup
...
Duployan speedup
2025-07-25 06:54:46 -06:00
Behdad Esfahbod
f8e0bf1c37
[match_properties_mark] inline and hot
2025-07-25 06:20:22 -06:00
Behdad Esfahbod
a592330e46
Sprinkle consts back
2025-07-25 06:20:22 -06:00
Behdad Esfahbod
3c18f60d43
[check-glyph-property] Move the cache check to MarkFilteringSets only
2025-07-25 05:44:39 -06:00
Behdad Esfahbod
5b6836e108
[check-glyph-properties] Cache current lookup-prop's matching result.
...
Slows down everything other than speeding up Duployan.
2025-07-25 05:44:11 -06:00
Behdad Esfahbod
3ac630a5d8
Merge pull request #5404 from harfbuzz/no-cargo-lock
...
[rust] Remove Cargo.lock
2025-07-25 04:21:55 -06:00
Behdad Esfahbod
786f8381bd
[GDEF] Use bit-set instead of set-digest for mark glyph classes
...
Most fonts don't even have these. Some, like NotoSansDuployan
have huge ones. This speeds it up by 25%.
2025-07-25 04:00:37 -06:00
Behdad Esfahbod
cb4cc445a2
Merge pull request #5419 from harfbuzz/tiny-fix
...
Fix build with `-DNDEBUG`
2025-07-25 03:51:23 -06:00
Behdad Esfahbod
b87d866b35
Fix HB_TINY ninja -Cbuild libs with experimental_api=true
2025-07-25 03:23:04 -06:00
Behdad Esfahbod
75f919876f
[src/test-*] Use hb_always_assert() which isn't compiled out under NDEBUG
...
Part of https://github.com/harfbuzz/harfbuzz/issues/5418
2025-07-25 03:00:38 -06:00
Behdad Esfahbod
2dc0b070e8
[test] Mark a couple functions as unused
...
Under NDEBUG.
2025-07-25 02:28:44 -06:00
Behdad Esfahbod
aadc7ccff1
[subset-table] Add a HB_UNUSED
2025-07-25 02:18:15 -06:00
Behdad Esfahbod
8204e2dc00
[ot-shape] Micro-optimize a loop
...
By gemini-cli.
2025-07-25 02:01:46 -06:00
Behdad Esfahbod
911277fbc0
Merge pull request #5414 from harfbuzz/subset-breakup
...
Break up `hb-subset.cc` into smaller files
2025-07-25 00:40:07 -06:00
Behdad Esfahbod
415ea36ad4
[subset] Break up hb-subset.cc
2025-07-25 00:05:46 -06:00
Behdad Esfahbod
9aa9fc51d3
[subset] Move code around
2025-07-24 22:47:08 -06:00
Behdad Esfahbod
367300ec4b
[subset] Move code around
2025-07-24 22:37:14 -06:00
Behdad Esfahbod
bdbcd8f632
[subset] Comment
2025-07-24 22:01:26 -06:00
Behdad Esfahbod
675f8ee677
[scalar-cache] Fix sanitizer whining
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5410
2025-07-24 21:46:11 -06:00
Behdad Esfahbod
305ac175cf
Merge pull request #5412 from qxliu76/mark_base_pos
...
[subset] MarkBasePos: remove base glyphs with empty base record
2025-07-24 15:54:59 -06:00
Qunxin Liu
879c4ac784
[subset] MarkBasePos: remove base glyphs with empty base record
...
BaseRecord could become empty if all anchor offsets for retained mark
classes are null
2025-07-24 14:25:54 -07:00
Behdad Esfahbod
b03089bf56
[hvgl] Fix cast-align issue
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/5408
2025-07-24 11:33:34 -06:00
Jan Kelemen
64ebfa04f2
Fix unary minus operator applied to unsigned type, result still unsigned
2025-07-24 11:12:31 -06:00
Behdad Esfahbod
ff46559b67
[benchmark-shape] Massage message again
2025-07-24 00:34:37 -06:00
Behdad Esfahbod
5991cb3d03
[benchmark-shape] Change message
2025-07-24 00:30:06 -06:00
Behdad Esfahbod
0a7a760ae1
[benchmark-shape] Skip shaper if shaping failed
2025-07-24 00:28:51 -06:00
Behdad Esfahbod
b7d5dc85c2
[kbts] Grow buffer exponentially
...
See comment.
2025-07-24 00:24:48 -06:00
Behdad Esfahbod
be585dfc4a
[kbts] Don't clear contents
...
That was resetting props to invalid. We shouldn't touch props.
2025-07-24 00:08:57 -06:00
Behdad Esfahbod
3750c0e991
Merge pull request #5407 from harfbuzz/kbts-touchup
...
[kbts] Clean up font initialization
2025-07-23 23:55:44 -06:00
Behdad Esfahbod
926ad1651a
[kbts] Handle a malloc fail
2025-07-23 23:54:24 -06:00
Behdad Esfahbod
a98d08a81b
[kbts] Fix a compiler warning
2025-07-23 23:48:47 -06:00
Behdad Esfahbod
70e587de9c
[kbts] Clean up font initialization
2025-07-23 23:38:45 -06:00
Behdad Esfahbod
112f0e0ef2
Merge pull request #5406 from harfbuzz/kbts-buffer
...
[kbts] Streamline buffer management
2025-07-23 23:11:18 -06:00
Behdad Esfahbod
41b89ee887
[kbts] Streamline buffer management
2025-07-23 20:19:57 -06:00
Behdad Esfahbod
b3258808b9
[rust] Remove Cargo.lock
...
As per recommendations. I hope this is what they meant.
2025-07-23 20:06:19 -06:00
Behdad Esfahbod
04010aad9d
Merge pull request #5403 from harfbuzz/VARC-enabled
...
[VARC] Graduate out of experimental
2025-07-23 18:18:45 -06:00
Behdad Esfahbod
f5acbb5ce0
[VARC] Fix HB_NO_DRAW build
2025-07-23 17:48:13 -06:00
Behdad Esfahbod
64b50ec4dc
[config] Kill HB_NO_BORING_EXPANSION
...
As features graduate from it and become part of the standard / default,
one tag doesn't do us any good. Features should be disabled
individually, like using HB_NO_VAR_COMPOSITES.
2025-07-23 17:40:12 -06:00
Behdad Esfahbod
7a708a935c
[VARC] Graduate out of experimental
2025-07-23 17:36:54 -06:00
Behdad Esfahbod
fc671f0e89
[kb] Clear buffer out flags and stuff
2025-07-23 17:12:31 -06:00
Behdad Esfahbod
0c3606b513
[benchmark-font] Respect HB_BENCHMARK_TEXT
2025-07-23 17:06:50 -06:00
Garret Rieger
8c79e4f8a0
[repacker] Add batch version of move_child().
...
Move child is O(n) where n = number of links on the parent object. The batch version is also O(n). Use this in ligature splitting clone range to avoid O(n^2) behaviour.
2025-07-23 16:46:36 -06:00
Garret Rieger
38181c3fbf
[repacker] cache liga index to object id maps between clone_range calls.
2025-07-23 16:46:36 -06:00
Garret Rieger
1caab75bfd
[repacker] fix O(n^2) behaviour in LigatureSubstFormat1::clone_range.
2025-07-23 16:46:36 -06:00