Commit Graph
19486 Commits
Author SHA1 Message Date
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
dependabot[bot] 841451a1f7 Bump github/codeql-action from 3.29.2 to 3.29.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.2 to 3.29.4.
- [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/181d5eefc20863364f96762470ba6f862bdef56b...4e828ff8d448a8a6e532957b1811f387a63867e8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-28 19:45:14 +03:00
Behdad Esfahbod 74686a6d96 Merge pull request #5433 from harfbuzz/revert-hvgl
Revert pull request 5433
2025-07-28 10:27:06 -06:00
Behdad Esfahbod 7af1df6725 Revert "Merge branch 'main' into HVF"
This reverts commit 3a64fce9b7, reversing
changes made to f63d960c4e.
2025-07-28 10:24:45 -06:00
Behdad Esfahbod 57565de18a Revert "[hvgl] Fix cast-align issue"
This reverts commit b03089bf56.
2025-07-28 10:20:28 -06:00
Behdad Esfahbod 57f0eb804a Add pragma GCC diagnostic ignored "-Wold-style-cast" (#5431)
From https://github.com/SFML/SFML/pull/3543#issuecomment-3126532776
2025-07-28 06:10:45 -06:00
Behdad Esfahbod 290063c643 [face] Fix a potential crasher if not enough font data
In hb_face_count().

Fixes https://github.com/memononen/Skribidi/pull/67
2025-07-28 03:19:17 -06:00
Behdad Esfahbod c7ec53d991 Try to fix build on gcc-8 (#5430)
* [machinery] Use std::forward in StructAfter

Might not fix https://github.com/harfbuzz/harfbuzz/issues/5429
but I was inspecting there and looks relevant.

* [machinery] Write StructAfter as an auto-return

Maybe fixes https://github.com/harfbuzz/harfbuzz/issues/5429

* [machinery] Another try at fixing gcc-8

Trying to fix https://github.com/harfbuzz/harfbuzz/issues/5429
2025-07-27 19:55:21 -06:00
Behdad Esfahbod 4df970fcbe Merge tag '11.3.3'
11.3.3
2025-07-26 14:07:11 -06:00
Behdad Esfahbod c3fcbffa65 11.3.3 11.3.3 2025-07-26 14:00:32 -06:00
Behdad Esfahbod 3416fd28a2 [tests/vertical] Add test for previous commit 2025-07-26 13:58:47 -06:00
Behdad Esfahbod 5565d78d4f [ot-font] Fix v-advance if font has no vmtx table
Fixes https://github.com/harfbuzz/harfbuzz/issues/5425
2025-07-26 13:58:39 -06:00
Behdad Esfahbod 4f8193ceff [tests/vertical] Add test for previous commit 2025-07-26 13:06:45 -06:00
Behdad Esfahbod 3918f0857b [ot-font] Fix v-advance if font has no vmtx table
Fixes https://github.com/harfbuzz/harfbuzz/issues/5425
2025-07-26 12:51:39 -06:00
Behdad Esfahbod 11daf566a3 [GDEF] Rename a var 2025-07-26 06:35:20 -06:00
Behdad Esfahbod 7b56d3a1e5 [ot-layout] s/hb_ot_lookup_cache_t/hb_ot_layout_mapping_cache_t/g 2025-07-26 06:29:10 -06:00
Behdad Esfahbod 09978fc510 [ot] Rename hb_ot_lookup_cache_op_t, and cache to subtable_cache 2025-07-26 06:29:10 -06:00
Behdad Esfahbod a220479fae Remove std::forward inside loops (#5424)
* [iter,cff] Remove std::forward from inside loops

Was moving multiple times, if args were movable.

* [CPAL] Handle an error

* [serialize] Remove another std::forward in a loop

* [bit-page] Fix a static-analysis out-of-range warning

Code was safe. Just rewrite.

* [ot-layout] Remove another std::forward from inside a loop
2025-07-26 06:10:31 -06:00
Behdad Esfahbod 5087e53be9 [perf] Use GOption (#5422)
* [perf] Don't build benchmarks if no glib

Also remove unnecessary deps.

* [benchmark-shape/font] Port to GOption
2025-07-26 04:02:41 -06:00
Behdad Esfahbod 87aaaf47ce [ragel] Update artifacts (#5421) 2025-07-26 03:51:30 -06:00
Behdad Esfahbod 1a6e58b960 [meson.build] Message 2025-07-26 02:19:24 -06:00
Behdad Esfahbod 66231e854b Merge pull request #5420 from harfbuzz/duployan-speedup
Duployan speedup
2025-07-25 06:54:46 -06:00
Behdad Esfahbod f8e0bf1c37 [match_properties_mark] inline and hot 2025-07-25 06:20:22 -06:00
Behdad Esfahbod a592330e46 Sprinkle consts back 2025-07-25 06:20:22 -06:00
Behdad Esfahbod 3c18f60d43 [check-glyph-property] Move the cache check to MarkFilteringSets only 2025-07-25 05:44:39 -06:00
Behdad Esfahbod 5b6836e108 [check-glyph-properties] Cache current lookup-prop's matching result.
Slows down everything other than speeding up Duployan.
2025-07-25 05:44:11 -06:00
Behdad Esfahbod 3ac630a5d8 Merge pull request #5404 from harfbuzz/no-cargo-lock
[rust] Remove Cargo.lock
2025-07-25 04:21:55 -06:00
Behdad Esfahbod 786f8381bd [GDEF] Use bit-set instead of set-digest for mark glyph classes
Most fonts don't even have these. Some, like NotoSansDuployan
have huge ones. This speeds it up by 25%.
2025-07-25 04:00:37 -06:00
Behdad Esfahbod cb4cc445a2 Merge pull request #5419 from harfbuzz/tiny-fix
Fix build with `-DNDEBUG`
2025-07-25 03:51:23 -06:00