Commit Graph
19858 Commits
Author SHA1 Message Date
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
dependabot[bot] 2ae982cd8f Bump actions/download-artifact from 6 to 7
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 12:22:19 +02:00
dependabot[bot] cde515d27f Bump actions/upload-artifact from 5.0.0 to 6.0.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 12:21:53 +02:00
Qunxin Liu cf31e7ac4e [instancer] support full instancing for avar2 (#5676) 2025-12-11 10:54:49 -07:00
Khaled Hosny db63939aaa [kbts] Update to version 2.03 (#5674) 2025-12-08 09:35:25 -07:00
dependabot[bot] 31695252eb Bump meson from 1.9.1 to 1.9.2 in /.ci
Bumps [meson](https://github.com/mesonbuild/meson) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/1.9.1...1.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 13:08:28 +02:00
dependabot[bot] 571b4f10c3 Bump github/codeql-action from 4.31.6 to 4.31.7
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.6 to 4.31.7.
- [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/fe4161a26a8629af62121b670040955b330f9af2...cf1bb45a277cb3c205638b2cd5c984db1c46a412)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 13:08:12 +02:00
dependabot[bot] 325f5e4d43 Bump actions/checkout from 6.0.0 to 6.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v6...v6.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 13:07:50 +02:00
Khaled Hosny a68565099d [kbts] Update to version 2.1 (#5670) 2025-12-06 13:02:03 -07:00
Behdad Esfahbod e9c463cef2 [aat-machine] Add a fast-path (#5667)
Speeds up LucidaGrande benchmark by 12%, Menlo by 6%.
2025-12-02 23:34:14 -07:00
Behdad Esfahbod 6593d25441 [aat-machine] Remove redundant check for buffer successful (#5666)
The loop does it already.
2025-12-02 23:14:44 -07:00
chuikingshek 856f99b190 CMake: Fix: harfbuzz-icu, harfbuzz-subset and harfbuzz-cairo are not included in harfbuzzConfig 2025-12-02 16:20:46 +02:00
dependabot[bot] f4573af476 Bump actions/setup-python from 6.0.0 to 6.1.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/e797f83bcb11b83ae66e0230d6156d7c80228e7c...83679a892e2d95755f2dac6acb0bfd1e9ac5d548)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 16:43:07 +02:00
dependabot[bot] 14c76c2873 Bump github/codeql-action from 4.31.5 to 4.31.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.5 to 4.31.6.
- [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/fdbfb4d2750291e159f0156def62b853c2798ca2...fe4161a26a8629af62121b670040955b330f9af2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 16:42:54 +02:00
dependabot[bot] bd97f2ec9a Bump hendrikmuhs/ccache-action from 1.2.19 to 1.2.20
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action) from 1.2.19 to 1.2.20.
- [Release notes](https://github.com/hendrikmuhs/ccache-action/releases)
- [Commits](https://github.com/hendrikmuhs/ccache-action/compare/bfa03e1de4d7f7c3e80ad9109feedd05c4f5a716...5ebbd400eff9e74630f759d94ddd7b6c26299639)

---
updated-dependencies:
- dependency-name: hendrikmuhs/ccache-action
  dependency-version: 1.2.20
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 15:49:12 +02:00
dependabot[bot] eb173815b9 Bump fonttools from 4.60.1 to 4.61.0 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.60.1 to 4.61.0.
- [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.60.1...4.61.0)

---
updated-dependencies:
- dependency-name: fonttools
  dependency-version: 4.61.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 15:48:36 +02:00
Behdad Esfahbod 15eea57f7b [kbts] Macro 2025-11-29 16:54:40 -07:00
Behdad Esfahbod 31eac71703 [kbts] Fix buffer access (#5660) 2025-11-29 16:14:30 -07:00
Khaled Hosny 47718c5c71 [logo] Remove the background [ci skip] (#5659)
Replace the white background with transparency. The PNG version was too
large (620K), but scaling it down to 512px made it even smaller than the
current JPEG file (160K vs 171K).
2025-11-28 11:11:57 -07:00
chuikingshek 37b375e20a CMake: Replace deprecated add_definitions with add_compile_definitions 2025-11-28 12:59:10 +02:00
Khaled Hosny 46bc4e95f9 [kbts] Update to version 2.0 2025-11-28 12:56:36 +02:00
Behdad Esfahbod d9e3b4efed Fix a compiler warning / error 2025-11-25 18:00:39 -07:00
dependabot[bot] 2d8e40ecb7 Bump meson from 1.9.0 to 1.9.1 in /.ci
Bumps [meson](https://github.com/mesonbuild/meson) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/1.9.0...1.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 15:48:44 +02:00
dependabot[bot] 030e0882b2 Bump actions/checkout from 5.0.0 to 6.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 15:48:12 +02:00
dependabot[bot] 53357c914e Bump github/codeql-action from 4.31.2 to 4.31.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.2 to 4.31.5.
- [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/0499de31b99561a6d14a36a5f662c2a54f91beee...fdbfb4d2750291e159f0156def62b853c2798ca2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 15:47:34 +02:00
Behdad Esfahbod 4bfa44407d [TupleValues] Inline decompile_deltas (#5651)
8% speedup in GoogleSansFlex heavy variations test.

$ b/perf/benchmark-font GSF.ttf --benchmark_filter=draw.*var/ot --variations=ROND=40,wght=500,wdth=50,opsz=54,slnt=-10,GRAD=50
2025-11-23 21:27:47 -07:00
Behdad Esfahbod c5a5334aea [TupleValues] Micro-optimize
The compiler was using a memset here, but I think it was also
emitting one conditional (checking i <= stop to begin with).
We know that condition is always true. This shows a measurable
1 or 2 percent speedup for me in a mega benchmark of Google Sans
Flex.
2025-11-23 20:59:48 -07:00
Behdad Esfahbod dd36595893 Add logo (#5650)
Fixes https://github.com/harfbuzz/harfbuzz/issues/5649

docs/ not touched.
2025-11-23 15:22:58 -07:00
Behdad Esfahbod 80e4fb6a69 [tuple-var] Micro-micro-optimized
0.5% speedup drawing var GoogleSansFlex.
2025-11-22 18:08:27 -07:00
Behdad Esfahbod 90f5cf8858 [scalar-cache] Micro-optimize (#5647)
Value is an atomic. Read it once.

4% speedup drawing GoogleSansFlex at variation.
2025-11-21 23:12:42 -07:00
Behdad Esfahbod ecb8320b74 [atomic] Remove unused operator |= (#5648)
Not sure why it was added.
2025-11-21 23:12:29 -07:00
Behdad Esfahbod 62d6ce999a Merge pull request #5646 from harfbuzz/gvar-size-speedup
[gvar] Speed up mega-var-font drawing by 35%
2025-11-21 18:05:34 -07:00
Behdad Esfahbod f632633900 [array] Fix build 2025-11-21 17:47:14 -07:00
Behdad Esfahbod 072299a25c [gvar] More speedup of drawing mega-var-fonts
Another 4% in GoogleSansFlex.
2025-11-21 17:37:00 -07:00
Behdad Esfahbod 9d7b229c7f [scalar-cache] Speed up
Another 7% speed up var drawing of GoogleSansFlex
2025-11-21 17:23:13 -07:00
Behdad Esfahbod f32abad817 [gvar] Speed up tupleHeader size calculation
25% speedup in GoogleSansFlex mega-var-font var drawing

$ b/perf/benchmark-font GSF.ttf --benchmark_filter=draw.*var/ot --variations=ROND=100
2025-11-21 17:11:54 -07:00
Behdad Esfahbod 716ae43fca Typpo 2025-11-21 16:58:43 -07:00
Behdad Esfahbod 52b38616f3 [rust] Fix check-symbols, again for rust update 2025-11-20 19:29:46 -07:00
Behdad Esfahbod 8dcd621739 [morx] Add an unlikely 2025-11-20 19:16:51 -07:00