Commit Graph
19896 Commits
Author SHA1 Message Date
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
Behdad Esfahbod a789943958 [binary-cache] Enlarge to 256 entries
2% speedup in NotoNastaliqUrdu benchmark.
2025-12-30 12:15:12 -07:00
Alex Belanger e3d0aeab7a Small typo README (#5696) 2025-12-28 00:40:25 -07:00
Behdad Esfahbod a4757aefc2 Remove unused default value
In the HarfRust port, compiler warns about unused value. lol
2025-12-27 17:22:46 -07:00
Behdad Esfahbod aaf22616ba [contextual] Fix typo
This involves a very edge case, where there are no rules in the ruleset.
One copy of the code was correct, other not. Fix.
2025-12-27 17:20:25 -07:00
Khaled Hosny 45c3dfa737 Typo 2025-12-27 23:16:33 +02:00
Khaled Hosny b0af59229c Reapply "[ci] Set “contents: write” permission only to the jobs that need it"
This reverts commit 500fe63e36.
12.3.0
2025-12-27 22:33:25 +02:00
Khaled Hosny 15197b0803 [ci] Use specific token for pushing docs 2025-12-27 22:32:55 +02:00
Khaled Hosny 0fc2cc9571 Revert "[ci] Use GITHUB_TOKEN instead of a custom one"
This reverts commit e8c839425b.

Breaks deploying documentation.
2025-12-27 22:20:40 +02:00
Khaled Hosny 500fe63e36 Revert "[ci] Set “contents: write” permission only to the jobs that need it"
This reverts commit c0f654deea.

Breaks deploying documentation.
2025-12-27 22:02:51 +02:00
Khaled Hosny 5a31dd02f0 12.3.0 2025-12-27 21:58:17 +02:00
Behdad Esfahbod f488743916 [hb-draw-compare] Fix help string 2025-12-27 12:27:49 -07:00
Khaled Hosny c0f654deea [ci] Set “contents: write” permission only to the jobs that need it 2025-12-27 18:22:49 +02:00
Khaled Hosny 3dd05e345a Link to “What is HarfBuzz?” chapter on the user manual 2025-12-27 17:12:24 +02:00
Khaled Hosny cddb5a90f5 Minor 2025-12-27 17:07:27 +02:00
Khaled Hosny 89c846f07c Update README
Shuffles things around for clarity, and fixes https://github.com/harfbuzz/harfbuzz/issues/5669.
2025-12-27 17:07:27 +02:00
StepSecurity Bot 3b51de4341 [StepSecurity] ci: Harden GitHub Actions
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
2025-12-27 17:03:43 +02:00
Behdad Esfahbod 635cd0e854 [calculate-scalar] Another tiny speedup
~1% in varc-hanzi benchmark.
2025-12-24 15:15:06 -07:00
Behdad Esfahbod 17092a67cc [calculate-scalar] A bit more speedup
5% speedup in varc-hanzi drawing.
No slowdown on GoogleSansFlex.
2025-12-24 14:17:38 -07:00
Behdad Esfahbod 21d15507fc [calculate-scalar] Another path we can use the cache
If the scalar=1.0 even if we have interims, we can
still use the cache.
2025-12-24 12:13:54 -07:00
Behdad Esfahbod 682df6d054 Merge pull request #5691 from harfbuzz/fastpath-calculate-scalar
Fastpath calculate scalar
2025-12-24 02:14:05 -07:00
Behdad Esfahbod 1a94172282 [calculate-scalar] Use cache sometimes even if has_interm
More involved logic.
2025-12-24 01:41:40 -07:00
Behdad Esfahbod 0f6fecfaf4 [calculate_scalar] Only jumpskip if num-coords >= 16
Otherwise, it was slowing down GoogleSansFlex rendering.
2025-12-24 01:41:36 -07:00
Behdad Esfahbod 22c876331a [calculate-scalar] Jump-skip 4 zeros at a time 2025-12-23 17:49:37 -07:00
Behdad Esfahbod e7796b5c2a [open-type] Add 64bit integer types 2025-12-23 17:49:37 -07:00
Behdad Esfahbod dcc3e6d106 [algs] Add 64bit int types fastpath 2025-12-23 15:38:18 -07:00
Behdad Esfahbod eb5caac243 [README] Add Amazon Kindle 2025-12-22 08:16:58 -07:00
dependabot[bot] 9bdcccdcdd Bump github/codeql-action from 4.31.8 to 4.31.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.8 to 4.31.9.
- [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/1b168cd39490f61582a9beae412bb7057a6b2c4e...5d4e8d1aca955e8d8589aabd499c5cae939e33c7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-22 15:59:55 +02:00
Behdad Esfahbod d960ee32ac [TupleValues] Disable a "fastpath" 2025-12-21 22:06:06 -07:00
Behdad Esfahbod 1cff2c31f0 Merge pull request #5689 from harfbuzz/draw-varc-opts
[VARC] draw() optimizations
2025-12-21 21:41:20 -07:00
Behdad Esfahbod f6ba182e65 Revert "[VARC] Use non-thread-safe scalar-cache"
This reverts commit 2c0dbf1f92.
2025-12-21 20:57:42 -07:00
Behdad Esfahbod 2c0dbf1f92 [VARC] Use non-thread-safe scalar-cache
Since the cache is local to the draw() call.

However, this seems to slow down thing for reasons I don't understand.
Going to revert.
2025-12-21 20:56:52 -07:00
Behdad Esfahbod 19ab59f2f6 [scalar-cache] Unroll a loop 2025-12-21 20:32:21 -07:00
Behdad Esfahbod 82a0d4bd03 [TupleValues] Inline ensure_run fastpath 2025-12-21 20:19:17 -07:00
Behdad Esfahbod c48fa2fa4d [ligature] Adjust fast path to be in sync with contextuals
Shouldn't have any observable difference.
2025-12-20 18:29:28 -07:00
Behdad Esfahbod d07f766143 Merge pull request #5688 from harfbuzz/contextuals-coverage-cache
[contextual] Add coverage cache for format2
2025-12-20 17:24:55 -07:00
Behdad Esfahbod d15bc8d4e9 [contextual] Use a binary coverage cache (in format2)
Reduces cache size by half.

Since we discard the actual coverage number anyway.
2025-12-20 17:08:48 -07:00
Behdad Esfahbod f9971108eb [contextual] Add coverage cache for format2
5% speedup in NotoNastaliq benchmark.
2025-12-20 16:53:20 -07:00
Behdad Esfahbod f629ecdc5c [contextual] Implement rule-skipping for ChainContext as well
Speeds up NotoNastaliq benchmark another 5%.
2025-12-20 16:29:07 -07:00
Behdad Esfahbod 8bd832dff1 Merge pull request #5687 from harfbuzz/notonastaliq-speedup
Notonastaliq speedup
2025-12-20 15:03:36 -07:00
Behdad Esfahbod 291e0b474a [matching] Tweak how we choose slow path if ZWJ/ZWNJ around
The new if() blocks are a bug fix.

The removed if() block and change to using iter_context instead,
enables the fast path for Arabic shaping now, and speeds up
NotoNastaliqUrdu benchmark by 10%.
2025-12-20 14:45:32 -07:00
Behdad Esfahbod bde924f275 [RuleSet] Add rule-skipping
Shows ~5% speedup in NotoNastaliqUrdu benchmark.
2025-12-20 14:07:43 -07:00
Behdad Esfahbod 761cd5a5c0 [gsubgpos] Fast-track matching of 0 items 2025-12-20 14:05:49 -07:00
Behdad Esfahbod 311e166b5a [kbts] Roll to 2.06 2025-12-20 12:24:38 -07:00
Qunxin Liu babdb46be3 [repacker] bug fix for splitting shared subtables (#5686)
And fix splitting for ligatureSubst table with shared coverage table
2025-12-19 21:42:20 -07:00
dependabot[bot] 5ef5240e94 Bump fonttools from 4.61.0 to 4.61.1 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.61.0 to 4.61.1.
- [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.61.0...4.61.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-16 15:05:15 +02:00
dependabot[bot] add1a6de38 Bump meson from 1.9.2 to 1.10.0 in /.ci
Bumps [meson](https://github.com/mesonbuild/meson) from 1.9.2 to 1.10.0.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/1.9.2...1.10.0)

---
updated-dependencies:
- dependency-name: meson
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-16 15:05:06 +02:00
dependabot[bot] 581aa1729f Bump github/codeql-action from 4.31.7 to 4.31.8
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.7 to 4.31.8.
- [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/cf1bb45a277cb3c205638b2cd5c984db1c46a412...1b168cd39490f61582a9beae412bb7057a6b2c4e)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-16 15:04:57 +02:00