Commit Graph
19833 Commits
Author SHA1 Message Date
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
Behdad Esfahbod 3aa1868b23 [benchmark-font] Accept empty --variations 2025-11-20 13:37:58 -07:00
Behdad Esfahbod 27c1b4b3fc [aat] Another unlikely 2025-11-20 13:24:44 -07:00
Behdad Esfahbod bf86590db6 [aat] Add an unlikely
Measurable speedup.
2025-11-20 04:34:54 -07:00
chuikingshek 3129b36c04 Force gen-harfbuzzcc.py to generate POSIX-style paths to avoid annoying git diffs. 2025-11-14 14:39:52 +02:00
chuikingshek bebd9f14e7 MSVC: Sync compiler options between Meson and CMake. 2025-11-14 13:26:13 +02:00
Garret Rieger 09c14fa4f2 Fix fuzzer found memory leak. (#5643)
Fixes https://oss-fuzz.com/testcase-detail/6083012753424384
2025-11-14 02:27:35 -07:00
Behdad Esfahbod 80311aa923 [indic/khmer] Remove uniscribe-bug-compatible mode (#5641)
Remove HB_OPTIONS env-var with it.
2025-11-12 14:04:34 -05:00
Behdad Esfahbod 1a93e9b30d Fix featureParams sanitization
Was accidentally dropped in 665afc08f6.
2025-11-11 21:41:42 -07:00
Behdad Esfahbod d9e2a50563 Merge pull request #5602 from harfbuzz/struct-format
Wrap format in unions in a struct
2025-11-11 16:07:54 -05:00
Behdad Esfahbod eb8ac410f6 Wrap a couple more items into a struct
Part of fixing https://github.com/harfbuzz/harfbuzz/issues/5601
2025-11-11 13:58:58 -07:00
Behdad Esfahbod 346b8dcf93 Wrap formats in struct
Part of https://github.com/harfbuzz/harfbuzz/issues/5601

This was done automatically using codex, the ChatGPT coding
agent.
2025-11-11 12:29:06 -07:00
Berk Elyesa Yıldırım b26efcc6b9 [meson] Update wrap files
FreeType 2.14 loads HarfBuzz on runtime dynamically
to simplify the circular dependencies.
2025-11-11 21:17:03 +02:00
Behdad Esfahbod 2bcce37ffd [Coverage] Wrap format in a struct
Part of https://github.com/harfbuzz/harfbuzz/issues/5601
2025-11-11 02:24:50 -07:00
Behdad Esfahbod 677f0b367d [rust] Update to HarfRust 0.4.* 2025-11-10 21:40:20 -07:00
Behdad Esfahbod 8062c37259 Merge pull request #5639 from harfbuzz/harfbust-busted
HarfBust busted
2025-11-10 14:21:59 -05:00
Behdad Esfahbod 33f8ee8efc [test] Add HarfBust tests 2025-11-10 02:55:44 -07:00
Behdad Esfahbod 7f7671f761 [sanitize] Update comments 2025-11-10 02:55:44 -07:00
Behdad Esfahbod 665afc08f6 [sanitize] Remove table-altering code parts
Part of fixing https://github.com/harfbuzz/harfbuzz/issues/5535

This makes two changes to previous behavior:
- If a FontFeatureSetting offset was wrong as per old Adobe
  behavior, we used to recover from. With this change (and immutable
  tables), we don't do that anymore,
- Similarly, if a cmap subtable has too-large of a length pointing
  outside of the cmap table, we used to recover from this, but
  don't anymore.
2025-11-09 15:28:19 -07:00
Behdad Esfahbod 83dc4d1d35 [sanitize] Don't do edit-sanitize cycle
Part of fixing https://github.com/harfbuzz/harfbuzz/issues/5535
2025-11-09 15:13:52 -07:00
Behdad Esfahbod 31cdb587f2 [draw] Always slant around horizontal origin (#5638)
Fixes https://github.com/harfbuzz/harfbuzz/issues/5632
2025-11-05 15:47:01 -07:00
Khaled Hosny e8c839425b [ci] Use GITHUB_TOKEN instead of a custom one 2025-11-05 07:59:27 +02:00
Khaled Hosny 0426759f2b 12.2.0 12.2.0 2025-11-05 07:18:46 +02:00
Khaled Hosny 76c490aee2 [cmake] Re-word the warning message to be more up-to-date [ci skip] 2025-11-05 07:16:23 +02:00
Khaled Hosny 281325fc95 Add .wraplock to subprojects/.gitignore [ci skip] 2025-11-05 06:59:00 +02:00
Behdad Esfahbod b11c14227f Match backtrack/lookahead per syllable (#5635)
* [match-backtrack] Fix syllable-setting logic

If accidentally backtrack_len() was equal idx, we were setting
syllable, even though we want to match backtrack, which shouldn't
match syllable.

I'm surprised how this was not exposed before.

Fixes https://github.com/harfbuzz/harfbuzz/issues/5597

* Always match backtrack per syllable

* Always match lookahead per syllable as well

* Add Indic test for per-syllable backtrack/lookahead matching
2025-11-04 13:49:52 -07:00