Commit Graph
19204 Commits
Author SHA1 Message Date
Behdad Esfahbod 443ef5f02c [ft] Regain some performance 2025-05-21 14:29:01 -06:00
Behdad Esfahbod a13fd9ae68 Merge branch 'main' into HVF 2025-05-21 12:23:19 -06:00
Behdad Esfahbod 88b9feb917 [benchmark-font] Allow specifying variations on cmdline 2025-05-20 20:40:40 -06:00
Behdad Esfahbod 60c4b9cb61 [benchmark-font] Minor refactor
In prep for accepting arbitrary variations on the cmdline.
2025-05-20 20:36:39 -06:00
Behdad Esfahbod 7165f1171d [var] Micro-optimize 2025-05-20 17:09:58 -06:00
Behdad Esfahbod 7357f6e559 [rust] Update deps 2025-05-20 15:19:13 -06:00
dependabot[bot] 3a46a1b548 Bump setuptools from 80.4.0 to 80.7.1 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 80.4.0 to 80.7.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v80.4.0...v80.7.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 80.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 15:29:51 +03:00
dependabot[bot] 89ac87e8e2 Bump github/codeql-action from 3.28.17 to 3.28.18
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.17 to 3.28.18.
- [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/60168efe1c415ce0f5521ea06d5c2062adbeed1b...ff0a06e83cb2de871e5a09832bc6a81e7276941f)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 13:41:41 +03:00
Behdad Esfahbod 19fd08f0ae [TupleVariation] Inline the hot methods 2025-05-18 11:31:41 -07:00
Behdad Esfahbod 45a22dfcb8 [rust] Fix newer clippy fix 2025-05-17 11:27:26 -07:00
Behdad Esfahbod eeabc29c69 [test/subset] Fix test-runner when ots is present 2025-05-17 11:24:51 -07:00
Behdad Esfahbod 86c6da3ad1 Merge pull request #5328 to optimize TupleVariations / gvar
Optimize drawing of GoogleSansFlex. Speeds up around 40%.
2025-05-17 11:23:14 -07:00
Behdad Esfahbod 8ef23c4877 [TupleVariation] Micro-optimize more 2025-05-17 11:13:36 -07:00
Behdad Esfahbod c35b6eb420 [TupleVariation] Micro-optimize non-common paths too 2025-05-17 11:07:04 -07:00
Behdad Esfahbod 35db5c090c [TupleVariation] Micro-optimize more 2025-05-17 11:02:29 -07:00
Behdad Esfahbod 1e0b04bdec [TupleVariation] Micro-optimize gvar-cache 2025-05-17 10:46:46 -07:00
Garret Rieger 3e122d9df9 Disable OTS on the cmap4 overflow test case.
The test file has been stripped of most tables to avoid checking in a very large font (since it has a high number of codepoints), which causes OTS to fail on missing required tables.
2025-05-16 11:08:00 -07:00
Behdad Esfahbod d47daacbdf [gvar] Remove shared_tuple_active_idx cache
Reduces malloc overhead and doesn't slow things down much now that
we have a shared_tuple scalar_cache.
2025-05-16 01:16:12 -07:00
Behdad Esfahbod c6097698c6 [ot-font/draw] Use a gvar shared-tuple scalar cache for calculate_scalar
Massive saving on massively variable fonts. Over 30% on a tested font.
2025-05-16 01:11:33 -07:00
Behdad Esfahbod f3108c4b98 [gvar] Remove outdated comment 2025-05-15 18:31:51 -07:00
Behdad Esfahbod f50490d6dd Add hb_scalar_cache_t 2025-05-15 18:28:44 -07:00
Behdad Esfahbod 49b1a4c0fa [TupleVariation] Reduce iteration overhead 2025-05-15 16:54:00 -07:00
Behdad Esfahbod 7fcf7b3cf1 [TupleVariation] Reduce iteration overhead
The check was actually wrong. And we check that upon access
separately.
2025-05-15 16:45:30 -07:00
Behdad Esfahbod 756980ce95 [TupleVariations] Cache all active indices in shared tuples 2025-05-15 15:50:01 -07:00
Garret Rieger 4e76727183 Add a test checks we can recover from cmap4 overflow. 2025-05-15 10:05:18 -06:00
Garret Rieger 82466d373f Fix cmap4 overflow pathway.
cmap4 serialize was doing a pop_discard() on overflow, however the encoding record above it was also doing one as well. Remove the unnessecary cmap4 pop_dicard(). Note: in cmap4 there was a comment implying the subsequent pop_discard() would be a noop due to the set error, however is not true since pop_discard() still works when there's been an overflow error.
2025-05-15 10:05:18 -06:00
Behdad Esfahbod 08b52ae2e4 [rust] Roll dependencies 2025-05-13 14:13:55 -06:00
Behdad Esfahbod 2da1850798 [gen-ucd-table] Adjust comment with --rust 2025-05-13 00:04:52 -06:00
Behdad Esfahbod b0666e2609 Revert "[unicode] Remove a few lines of cruft"
This reverts commit d978c4b50a.

Ouch!
2025-05-12 23:11:21 -06:00
Behdad Esfahbod 6deeb8aa26 Merge pull request #5322 from harfbuzz/gen-rust
[ucd] Generate rust
2025-05-12 23:10:46 -06:00
Behdad Esfahbod d978c4b50a [unicode] Remove a few lines of cruft 2025-05-12 23:08:58 -06:00
Behdad Esfahbod 3175632f6a [gen] Update to latest packtab 2025-05-12 20:55:39 -06:00
Behdad Esfahbod 2534bcf06d [ucd] Update to latest packtab 2025-05-12 20:21:50 -06:00
Behdad Esfahbod 02bc78c7ce [gen-ucd-table] Make --rust functions pub 2025-05-12 20:07:21 -06:00
Behdad Esfahbod 2d1d1b366e [gen-ucd-rust] Fix --rust output 2025-05-12 17:08:08 -06:00
Behdad Esfahbod 9ef4b4ea3f [ucd] Update to latest packTab 2025-05-12 15:45:16 -06:00
Behdad Esfahbod 4f1ee74347 [gen-ucd-table] Fix --rust output 2025-05-12 15:43:15 -06:00
Behdad Esfahbod 37e7120aa7 [ucd] Don't use unsigned literals
More compat with --rust.
2025-05-12 15:30:42 -06:00
Behdad Esfahbod 083ca198d2 [gen-ucd-table.py] black 2025-05-12 15:27:51 -06:00
Behdad Esfahbod d5c4b1eed7 [gen-ucd-table.py] Towards generating --rust output 2025-05-12 15:24:38 -06:00
Behdad Esfahbod f71391fe8d [unicode] Move code around
To better match harfRuzz.
2025-05-12 14:05:39 -06:00
Behdad Esfahbod bbe0fb3761 [tables] Update to latest packTab
We now unconditionally include <stdint.h>; Hopefully not a problem.
2025-05-12 13:53:17 -06:00
Behdad Esfahbod eb40c1f483 [gen-ucd-table] Update for hb-script-list.h 2025-05-12 13:35:48 -06:00
Khaled Hosny ba8b4dca9e Typo [ci skip] 2025-05-12 19:58:50 +03:00
Behdad Esfahbod a99efec945 [common] Fix docs for horizontal_script 2025-05-12 10:57:18 -06:00
Khaled Hosny 33a3f8de60 11.2.1 11.2.1 2025-05-12 19:51:07 +03:00
dependabot[bot] cd32b6bf93 Bump setuptools from 80.3.1 to 80.4.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 80.3.1 to 80.4.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v80.3.1...v80.4.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 80.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-12 16:22:37 +03:00
Behdad Esfahbod 0d696d955a [gsubgpos] Add matcher_t::init() 2025-05-11 11:52:57 -06:00
Behdad Esfahbod adf11168d6 [gsubgpos] Remove unused code in skipping_iterator_t 2025-05-10 17:27:54 -06:00
Behdad Esfahbod 49e2736eab Merge pull request #5320 from harfbuzz/skippy-iter-simplify
Skippy iter simplify
2025-05-10 17:26:05 -06:00