Commit Graph
19943 Commits
Author SHA1 Message Date
Behdad Esfahbod 17c8a21907 [VARC] Try fixing double scaling 2026-02-05 23:38:55 -07:00
Behdad Esfahbod 8231730aaa [VARC] A couple more rounding issues 2026-02-05 22:33:27 -07:00
Behdad Esfahbod 63562615d4 [VARC] Process axes in forward order
In case there are duplicates...
2026-02-05 22:00:09 -07:00
Behdad Esfahbod 22b4e63743 [VARC] Don't round transform components for division 2026-02-05 21:58:50 -07:00
Behdad Esfahbod c1e94eb08e [gvar] Remove unused variable assignment 2026-02-05 15:33:27 -07:00
Behdad Esfahbod b863a8f462 Revert "[rust] Use HarfBuzz-style glyph outline"
This reverts commit 6ba28949f5.
2026-02-05 15:32:46 -07:00
Behdad Esfahbod 6ba28949f5 [rust] Use HarfBuzz-style glyph outline
Slightly slower, but matches our point order better.
2026-02-05 15:24:53 -07:00
Behdad Esfahbod ccaef949c4 [gvar] Speed up by using a fused delta application codepath (#5730)
* [gvar] Speed up by using a fused delta application codepath

6% speedup in hanzi VARC font rendering.

* [gvar] Improve fused delta application

Another 1%.
2026-02-05 14:20:19 -07:00
Behdad Esfahbod c42f4b5218 [VARC] Implement lazy skipping 2026-02-05 12:44:49 -07:00
Behdad Esfahbod 0334f2e38d [rust] Add a couple of compiler flags (#5729)
Makes binary 100kb smaller!
2026-02-04 05:07:31 -07:00
Behdad Esfahbod b1c71874a4 [rust] Use panic="abort" in debugoptimized builds as well 2026-02-03 23:43:00 -07:00
Behdad Esfahbod 8c8f76d690 [scalar-cache] Enlarge, and adjust scratch logic (#5728)
No need to clear on default construction, or set length even.
2026-02-03 23:40:55 -07:00
dependabot[bot] aba63bb5f8 Bump github/codeql-action from 4.31.11 to 4.32.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.11 to 4.32.0.
- [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/19b2f06db2b6f5108140aeb04014ef02b648f789...b20883b0cd1f46c72ae0ba6d1090936928f9fa30)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-02 16:33:39 +02:00
dependabot[bot] dde6d67003 Bump actions/setup-python from 6.1.0 to 6.2.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/83679a892e2d95755f2dac6acb0bfd1e9ac5d548...a309ff8b426b58ec0e2a45f0f869d46889d02405)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 15:54:31 +02:00
dependabot[bot] 67e991d1b5 Bump setuptools from 80.9.0 to 80.10.2 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 80.9.0 to 80.10.2.
- [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.9.0...v80.10.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 15:41:40 +02:00
dependabot[bot] 32ecff7bc3 Bump github/codeql-action from 4.31.10 to 4.31.11
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.10 to 4.31.11.
- [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/cdefb33c0f6224e58673d9004f47f7cb3e328b89...19b2f06db2b6f5108140aeb04014ef02b648f789)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 15:41:19 +02:00
dependabot[bot] 6ce0661a37 Bump actions/checkout from 6.0.1 to 6.0.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/8e8c483db84b4bee98b60c0593521ed34d9990e8...de0fac2e4500dabe0009e67214ff5f5447ce83dd)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-26 15:40:56 +02:00
Khaled Hosny 8a481237ec Typo [ci skip] 2026-01-24 14:15:46 +02:00
Khaled Hosny b42511e071 12.3.2 12.3.2 2026-01-24 14:09:52 +02:00
Khaled Hosny 1df4e8b34a Minor [ci skip] 2026-01-24 14:04:46 +02:00
Qunxin Liu e601560b77 fix fuzzer issue: https://oss-fuzz.com/testcase-detail/6005602106277888
Do not use pointers that may point outside of the allocated memory region
2026-01-23 11:44:39 -07:00
Behdad Esfahbod e365cd0e2e [cmap] Another null check
https://github.com/harfbuzz/harfbuzz/security/advisories/GHSA-pgp8-9vq3-fq2r#advisory-comment-154898
2026-01-22 19:01:39 -07:00
Behdad Esfahbod dc73849f56 [gvar] Fix padding size calcs (#5718)
The previous state of is_long_offset() is irrelevant here.

Fixes https://oss-fuzz.com/testcase-detail/5920156651159552
2026-01-22 18:08:51 -07:00
Qunxin Liu b17fa8ef39 Fix fuzzer found heap-use-after-free crash (#5717)
Fixes https://oss-fuzz.com/testcase-detail/6005602106277888
2026-01-21 14:42:29 -07:00
Qunxin Liu 6e37798a16 Merge pull request #5716 from qxliu76/gvar_fix
[subset] fix padding in gvar table
2026-01-20 15:04:11 -08:00
Qunxin Liu 1c0a3a14d3 [subset] fix padding in gvar table
Add necessary padding if original font is using long format and
subsetted font is using short format
2026-01-20 14:47:54 -08:00
Khaled Hosny abcb75a5d1 12.3.1 12.3.1 2026-01-20 23:59:40 +02:00
dependabot[bot] 2cc865b77d Bump meson from 1.10.0 to 1.10.1 in /.ci
Bumps [meson](https://github.com/mesonbuild/meson) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/1.10.0...1.10.1)

---
updated-dependencies:
- dependency-name: meson
  dependency-version: 1.10.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 16:06:52 +02:00
dependabot[bot] b98f91060f Bump github/codeql-action from 4.31.9 to 4.31.10
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.9 to 4.31.10.
- [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/5d4e8d1aca955e8d8589aabd499c5cae939e33c7...cdefb33c0f6224e58673d9004f47f7cb3e328b89)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 16:06:08 +02:00
Behdad Esfahbod a603a37294 [benchmark-shape] Fix unused-var under NDEBUG 2026-01-12 13:09:51 -07:00
Behdad Esfahbod bb7dbc25ec Fix some unused-var warnings under NDEBUG 2026-01-10 07:42:07 -07:00
Behdad Esfahbod 4ca351535b [rust] Roll to new HarfRust 2026-01-10 07:41:54 -07:00
Bastien Dejean 8f5abdc42f GCC 4.9.4: Keep template names unique (#5713)
Fixes #5712.
2026-01-10 05:02:17 -07:00
Behdad Esfahbod 0f58c68c6e Remove use of std::is_trivially_copyable (#5711)
Fixes https://github.com/harfbuzz/harfbuzz/issues/5709
2026-01-09 04:54:49 -07:00
Behdad Esfahbod 1265ff8d99 [cmap] malloc fail test (#5710)
Fixes https://github.com/harfbuzz/harfbuzz/security/advisories/GHSA-xvjr-f2r9-c7ww
2026-01-09 04:54:42 -07:00
Qunxin Liu fa2908bf16 [subset] avar mapping: fix return value for avar1 fonts (#5705) 2026-01-07 12:49:37 -07:00
Behdad Esfahbod e8dd3cd376 Add a couple inline's
Try to fix https://github.com/harfbuzz/harfbuzz/issues/5704
2026-01-07 12:30:30 -07:00
Dominik Röttsches e1f2565db0 Build fix for avar table with HB_NO_AVAR2 2026-01-07 11:45:16 +02:00
Behdad Esfahbod 5163127641 [matcher] Micro-optimize
Some 2% in Duployan & Roboto.
2026-01-05 17:47:17 -07:00
Behdad Esfahbod 120a38a55e [GDEF] Inline a function (#5701)
17% speedup in Duployan benchmark!
2026-01-05 15:52:54 -07:00
Behdad Esfahbod 32605cc543 Merge pull request #5699 from harfbuzz/markglyphsets-speedup
Markglyphsets speedup / disable asserts in release builds
2026-01-03 17:55:58 -07:00
Behdad Esfahbod 93fb777502 [perf/benchmark-shape] Add Duployan test
Reshuffle tests to run from fastest to slowest.
2026-01-03 17:27:50 -07: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
Behdad Esfahbod 18e46b1ae5 [GDEF] Speed up mark set filtering
Remove one bounds check.
2026-01-03 17:08:46 -07:00
Khaled Hosny e9c35e7352 [perf/benchmark-shape] Add Gulzar (#5698) 2026-01-02 11:30:30 -07:00
Khaled HosnyandBehdad Esfahbod c7ac9e4345 [kbts] Update to version 2.07 (#5697)
* [kbts] Update to version 2.07

* [kbts] More error checking

* [kbts] Update to the latest commit

* [kbts] Fix destroy order

Apparently it has to be done this way. Otherwise, freeing
the config frees the scratchpad as well, or something to that
extent, and makes valgrind very unhappy.

* [kbts] Hook objects to shape-plan for reuse

---------

Co-authored-by: Behdad Esfahbod <behdad@behdad.org>
2026-01-01 21:01:30 -07:00
Behdad Esfahbod 29a47dcd83 Enlarge MappingCache to 256 entries again
Matches HR.
2025-12-31 16:35:58 -07:00
Behdad Esfahbod d1f58e5762 Tweak an unlikely
This doesn't seem to slowdown benchmarks much, but speeds up Duployan
by ~8%.
2025-12-31 16:28:56 -07:00
Behdad Esfahbod 1c3633e121 [GDEF] Use set-digest, not bit-set, for mark coverages again
This seems to be slightly faster, more memory efficient, and
matches HarfRust.
2025-12-31 15:56:43 -07:00
Behdad Esfahbod d58bc8c94d Remove a couple inlines
Speeds up things a bit.
2025-12-31 15:45:58 -07:00