Commit Graph
19617 Commits
Author SHA1 Message Date
Behdad Esfahbod 92ec75f8d6 [instancer/varstore] Micro-optimize 2025-09-12 03:13:25 -06:00
Behdad Esfahbod 14e7d5b2c8 [instancer/varstore] Speed up gain_from_merging
10% speedup instancing GoogleSansFlex.
2025-09-12 03:04:59 -06:00
Behdad Esfahbod 006ec1600a [instancer/varstore] Minor refactor in anticipation of next change 2025-09-12 02:52:29 -06:00
Behdad Esfahbod c6a15cd680 Merge pull request #5539 from harfbuzz/instancer-optimize-more
[instancer] optimize more
2025-09-12 01:20:50 -06:00
Behdad Esfahbod aba798ddab [instancer/varstore] Use heapify() instead of inserts() 2025-09-12 00:52:40 -06:00
Behdad Esfahbod 12c4623757 Revert "[instancer/varstore] Change chars_t storage scheme"
This reverts commit aaeea5729b.
2025-09-12 00:05:37 -06:00
Behdad Esfahbod aaeea5729b [instancer/varstore] Change chars_t storage scheme
Slows down. Gonna revert.

Apparently builtin popcount is not fast unless built for archs that
support it.
2025-09-12 00:05:01 -06:00
Behdad Esfahbod 3dc5e3d689 [instancer/varstore] Consolidate chars_t logic 2025-09-11 23:51:56 -06:00
Behdad Esfahbod fe6c9a0f73 [instancer/varstore] Fix a logic bug
combined_chars was moved already.

Also, see comment.
2025-09-11 23:26:34 -06:00
Behdad Esfahbod 9d9711698b [instancer/varstore] Add a chars_t type 2025-09-11 23:12:14 -06:00
Behdad Esfahbod 1a6c6d7865 [instancer] Micro-optimize a couple of hot comparisons 2025-09-11 22:01:54 -06:00
Behdad Esfahbod c938e8ce88 [instancer] Micro-optimize by using bit-set directly 2025-09-11 21:57:14 -06:00
Behdad Esfahbod 266e1c2481 [instancer] Short-circuit some work in gain_from_merging 2025-09-11 20:12:39 -06:00
Behdad Esfahbod a34f8b3141 [instancer] Use bitset instead of vector for VarStore optimizer columns
~30% faster on GoogleSansFlex.
2025-09-11 20:03:57 -06:00
Behdad Esfahbod b2dcb8f1fa Merge pull request #5538 from harfbuzz/subset-robotoflex-opts
[instancer] Optimize mallocs
2025-09-11 18:51:51 -06:00
Behdad Esfahbod 2e86070ec6 [instancer] Don't clear a couple of resize allocations
Not needed.
2025-09-11 18:17:06 -06:00
Behdad Esfahbod 01fd17d68a [instancer] Reduce mallocs in create_from_tuple_var_data 2025-09-11 17:05:03 -06:00
Behdad Esfahbod 23e40cd70b [instancer] Reduce mallocs in gain_from_merging 2025-09-11 16:53:44 -06:00
Behdad Esfahbod 3225bd7324 [instancer] Minor default construction simplify 2025-09-11 16:44:24 -06:00
Behdad Esfahbod 3df6e5102b [instancer] Reduce mallocs in merge_tuple_variations 2025-09-11 16:33:10 -06:00
Behdad Esfahbod 6d82b40a49 [instancer] Remove unnecessary vector fini 2025-09-11 16:09:13 -06:00
Behdad Esfahbod 87c36992c0 [instancer] Reduce mallocs in calc_inferred_deltas 2025-09-11 15:42:59 -06:00
Behdad Esfahbod 740cbf1c81 [vector] Add malloc debug facility 2025-09-11 15:39:15 -06:00
Behdad Esfahbod 67bddf153f [instancer] Reduce mallocs in change_tuple_var_axis_limit 2025-09-11 15:16:30 -06:00
Behdad Esfahbod 17aa37ab09 [instancer] Reduce mallocs in rebase-tent 2025-09-11 15:13:51 -06:00
David Corbett 0fbbf74913 [ot-tags] Update IANA subtags to 2025-08-25 (#5537) 2025-09-10 19:11:44 -06:00
Behdad Esfahbod ce75945ca6 Merge pull request #5534 from harfbuzz/unicode-17
Update to Unicode 17.0.0
2025-09-10 10:19:04 -06:00
David Corbett bc2c60e490 [Unicode 17] Add tests 2025-09-10 12:15:49 -04:00
David Corbett 13c8ffa059 [Unicode 17] Send the new scripts to USE 2025-09-10 11:35:54 -04:00
David Corbett f59d532bf8 [Unicode 17] Update the USE table 2025-09-10 11:34:07 -04:00
David Corbett 5b6409f094 [Unicode 17] Update the vowel constraint table 2025-09-10 11:22:02 -04:00
David Corbett 7c611a2b58 [Unicode 17] Update the Indic table 2025-09-10 11:21:36 -04:00
David Corbett e189b34ec9 [Unicode 17] Update the emoji table & cluster test 2025-09-10 11:19:14 -04:00
David Corbett e0e0a7576e [Unicode 17] Update the Arabic joining script list 2025-09-10 11:18:07 -04:00
David Corbett 5b72f3044e [Unicode 17] Update the Arabic table 2025-09-10 11:17:25 -04:00
David Corbett 147db69bae [Unicode 17] Update the UCD table 2025-09-10 11:15:30 -04:00
David Corbett d08a72dd38 [Unicode 17] Add new hb_script_t values 2025-09-10 11:12:37 -04:00
dependabot[bot] d59f62ac14 Bump fonttools from 4.59.1 to 4.59.2 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.59.1 to 4.59.2.
- [Release notes](https://github.com/fonttools/fonttools/releases)
- [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst)
- [Commits](https://github.com/fonttools/fonttools/compare/4.59.1...4.59.2)

---
updated-dependencies:
- dependency-name: fonttools
  dependency-version: 4.59.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 14:13:59 +03:00
dependabot[bot] 5c7ae655f9 Bump github/codeql-action from 3.29.11 to 3.30.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.11 to 3.30.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/3c3833e0f8c1c83d449a7478aa59c036a9165498...f1f6e5f6af878fb37288ce1c627459e94dbf7d01)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 14:13:46 +03:00
dependabot[bot] fb7af519b5 Bump actions/setup-python from 5.6.0 to 6.0.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.6.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/a26af69be951a213d495a4c3e4e4022e16d87065...e797f83bcb11b83ae66e0230d6156d7c80228e7c)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 14:13:34 +03:00
Behdad Esfahbod dd291f482c Short-circuit ASCII more (#5528) 2025-09-07 23:46:27 -06:00
Khaled Hosny 49ac0df6ba [meson] Add graphite2 wrap file 2025-09-07 02:48:00 +03: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 01d4fff167 [meson] Add ICU wrap 2025-09-04 14:44:48 +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
Behdad Esfahbod d94851e56d [rust] Use inherited codegen-units=1 in debugoptimized build
It makes significant (30% in Nastaliq benchmark) difference.
2025-09-03 11:52:51 -06:00
Qunxin Liu cb4548d3c5 [subset] always generate AdvMap (#5524) 2025-09-02 15:58:00 -06:00
Qunxin Liu 77d073044e [subset] fix HVAR encoding width (#5523) 2025-09-02 15:40:51 -06:00
Behdad Esfahbod 12ec668212 [buffer] Micro-optimize set_masks
Somehow this specialization loop was in HarfRust / RustyBuzz.
2025-09-02 14:21:57 -06:00