Commit Graph
19514 Commits
Author SHA1 Message Date
dependabot[bot] 2f75c57ef4 Bump fonttools from 4.57.0 to 4.59.1 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.57.0 to 4.59.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.57.0...4.59.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 18:16:24 +03:00
Behdad Esfahbod 4a1d4fbf0d harfbuzz.cc hb-shape (#5474)
* [util] Respect HB_NO_FEATURES_H macro

For builds using harfbuzz.cc and no features file.

* Kill PACKAGE_NAME and PACKAGE_VERSION

Remnants of autotools.

* [BUILD.md] Update
2025-08-17 17:12:22 -06:00
Behdad Esfahbod 68c7cfff43 [util] Don't specify helper-subset.hh (#5473)
Not needed I believe.
2025-08-17 16:57:32 -06:00
Behdad Esfahbod c6153c738f [buffer] Micro-optimize next_glyph() (#5472) 2025-08-16 16:52:02 -06:00
Behdad Esfahbod 9794ad9e00 [external_cache] Remove a conditional (#5471) 2025-08-16 15:51:05 -06:00
Behdad Esfahbod 96f3cae59e Revert "[set-digest] Branch-free tests (#5469)" (#5470)
This reverts commit a4d4c41023.

That commit had slowed down clang by 3% while sped up gcc by 3%.
Revert, to keep the code *intention* clear. Rely on compiler
to avoid branches if it sees fit.
2025-08-16 15:02:37 -06:00
Behdad Esfahbod a4d4c41023 [set-digest] Branch-free tests (#5469) 2025-08-16 13:55:46 -06:00
Behdad Esfahbod 368598b5bd Increase match_positions stack allocation from 4 to 8 (#5468)
Slight speedup on NotoNastaliq.
2025-08-16 00:38:42 -06:00
Behdad Esfahbod 0e6e18e74f Rename a method 2025-08-15 14:27:33 -06:00
Behdad Esfahbod 0a257b0188 [gen-ucd-table] Rust clippy 2025-08-15 00:54:52 -06:00
Behdad Esfahbod 03d516f860 [ucd] Change compression level from 5 to 3 (#5466)
3kb bigger binary size. 1% faster in Roboto.
2025-08-15 00:52:44 -06:00
Behdad Esfahbod dae2c8bbbd [ligature] Add a set-digest on the second component (#5464) 2025-08-14 22:26:40 -06:00
Behdad Esfahbod 8268473a02 Add external_cache_create separate from cache_func (#5463)
* Add external_cache_create separate from cache_func

* Simplify cache_func_t signature

* Rename a cache type

* Rename another cache type
2025-08-14 21:57:19 -06:00
Behdad Esfahbod cf614fc85d [LigatureSet] Use slow path only if <= 1 ligatures (#5462) 2025-08-14 16:23:45 -06:00
Behdad Esfahbod bbc2e0d0b5 [harfrust] Scale using int64 instead of float (#5461)
Like hb-font.hh does.
2025-08-14 16:12:59 -06:00
Behdad Esfahbod 354c6a17b8 [harfrust] Remove one function call (#5460)
lol. That's how desperate we are now.
2025-08-14 16:01:44 -06:00
Behdad Esfahbod 75044854a8 [harfrust] Update to latest API 2025-08-14 11:24:19 -06:00
Behdad Esfahbod 53cd214e83 [harfrust] Use buffer.ensure() (#5459) 2025-08-14 10:24:21 -06:00
Behdad Esfahbod a9a78e1bff [main-loop] Hypothetically remove a branch (#5458)
Don't rely on the compiler.
2025-08-14 02:04:06 -06:00
Behdad Esfahbod 7d1ef008b7 Remove an unneeded parameter (#5457) 2025-08-14 01:03:18 -06:00
Behdad Esfahbod f9e6c84d76 [gen-ucd-table] Add another clippy warning 2025-08-13 18:19:24 -06:00
Behdad Esfahbod 8ebdb9f75c [harfrust] Cache Shaper object (#5454) 2025-08-13 17:39:30 -06:00
Behdad Esfahbod 6b285e6e94 11.4.1 11.4.1 2025-08-13 11:59:30 -06:00
Behdad Esfahbod 71a7c58c9c Fix build on some compilers 2025-08-13 11:57:36 -06:00
Behdad Esfahbod 8c859f2528 11.4.0 11.4.0 2025-08-13 11:47:38 -06:00
Behdad Esfahbod fbc21a953b [gsubgpos] Remove copy/pasta code 2025-08-12 10:59:11 -06:00
Behdad Esfahbod 4aa7dcba0e [Coverage cache] Micro-optimize 2025-08-12 03:18:38 -06:00
Behdad Esfahbod a4dbb7d459 [Coverage] Cache NOT_COVERED effectively (#5453)
Before, our cache.set was always failing for NOT_COVERED,
making the cache ineffective for uncovered glyphs. Fix that.

Some nice speedups in Latin fonts.
2025-08-12 02:34:49 -06:00
Behdad Esfahbod 1e8a554eaa Hr buffer cache (#5452)
* [harfrust] Rename a variable

* [harfrust] Cache HR buffer on HB buffer
2025-08-11 19:27:32 -06:00
Behdad Esfahbod 1a2337d550 [rust] Require HarfRust 0.1.* 2025-08-11 12:53:03 -06:00
dependabot[bot] d14c2d1764 Bump actions/download-artifact from 4 to 5
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 19:36:58 +03:00
dependabot[bot] a40a49104e Bump github/codeql-action from 3.29.7 to 3.29.8
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.7 to 3.29.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/51f77329afa6477de8c49fc9c7046c15b9a4e79d...76621b61decf072c1cee8dd1ce2d2a82d33c17ed)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-11 18:57:37 +03:00
Behdad Esfahbod 6ec1b2790c [lookup] Give each subtable an external-cache opportunity (#5449)
* [lookup] Give each subtable an external-cache opportunity

* [subtable-cache] Fixups
2025-08-11 01:14:19 -06:00
Behdad Esfahbod 0f6323e1df [layout] Rename a variable 2025-08-10 15:15:08 -06:00
Behdad Esfahbod ef5c3d59fd [rust] Oops 2025-08-10 01:27:41 -06:00
Behdad Esfahbod 940604b2bc [gsubgpos] Micro improvement of (Chain)ContextFormat2 classdef cache 2025-08-10 01:25:13 -06:00
Behdad Esfahbod 2c22a65f0c [test] Add test for would_apply with multiple subtables
From HarfRust issue:
https://github.com/harfbuzz/harfrust/issues/118
2025-08-08 15:14:16 -06:00
Behdad Esfahbod fe554a1b78 [contextuals] Fix cache_cost
Was just wrong.
2025-08-08 05:05:19 -06:00
Behdad Esfahbod 6195c4343b [contextuals] Tweak cache cost 2025-08-08 04:00:27 -06:00
Behdad Esfahbod 673934f2ce Revert "[VARC] Graduate out of experimental"
This reverts commit 7a708a935c.
2025-08-07 22:58:14 -06:00
Behdad Esfahbod 06e9277fa3 Rename _S to HB_STR
Fixes https://github.com/harfbuzz/harfbuzz/issues/5446
2025-08-07 22:38:58 -06:00
Behdad Esfahbod 5f46ff8066 [shape] Rename a buffer var
For clarity.
2025-08-07 22:04:20 -06:00
Andarwinux dbbf6def3b add libdwrite to PC_LIBS_PRIV if directwrite is enabled 2025-08-04 21:47:43 -06:00
dependabot[bot] a447d6842c Bump github/codeql-action from 3.29.4 to 3.29.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.4 to 3.29.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/4e828ff8d448a8a6e532957b1811f387a63867e8...51f77329afa6477de8c49fc9c7046c15b9a4e79d)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-04 19:22:43 +03:00
Count_MHM 025f72b240 Make example variable names consistent 2025-08-03 18:30:54 -06:00
Khaled Hosny 880eb464d1 [graphite2] Use signed int for current advance
Graphite can return negative advances, but we were storing current x and
y advances as unsigned ints. The `curradvx` and `curradvy` variables are
used only when calculating the respective offset, but the advance itself
it always taken from Graphite directly, so using signed here makes no
difference to how advances are set, only the offsets.

Fixes https://github.com/harfbuzz/harfbuzz/issues/5439
2025-08-04 01:18:00 +03:00
Khaled Hosny 3b4336ba70 [README] Use the same dash as the rest of the entries 2025-07-30 01:21:54 +03:00
Khaled Hosny 5a443ade9f [ci] Add a script to extract release notes from NEWS file
Add a script to extract the release notes from the NEWS files and use
them when creating GitHub releases, so that we don’t need to copy them
manually.

Add also a test to make sure the NEWS file always have release notes for
the current release.
2025-07-30 01:19:29 +03:00
Qunxin Liu cd49b14b4f [subset] add more aggressive pruning for MarkLigPos and MarkMarkPos (#5434)
Remove lig/mark glyphs without defined anchor points after subsetting
2025-07-29 15:32:26 -06:00
Garret Rieger 7d7f868109 Don't cast negative advance to unsigned. (#5436) 2025-07-29 14:31:53 -06:00