Commit Graph
20650 Commits
Author SHA1 Message Date
Behdad Esfahbod d5dd5ac819 [harfruzz] Clear mask before setting 2025-06-06 18:29:40 -06:00
Behdad Esfahbod 453f65d761 Merge pull request #5355 from harfbuzz/harfruzz-new-api
[harfruzz] Update to new API
2025-06-06 18:19:26 -06:00
Behdad Esfahbod 4ab5130e4a [harfruzz] More glyph flags 2025-06-06 18:16:31 -06:00
Behdad Esfahbod 74e99dbe63 [harfruzz] Apply review feedback 2025-06-06 18:15:20 -06:00
Behdad Esfahbod 80b73a1109 [harfruzz] Track main again 2025-06-06 18:13:05 -06:00
Behdad Esfahbod e670b729f7 [harfruzz] Enable new cluster level GRAPHEMES 2025-06-06 18:12:27 -06:00
Behdad Esfahbod f92809fcdc [harfruzz] Update to new API
From https://github.com/harfbuzz/harfruzz/pull/57
2025-06-06 17:43:32 -06:00
Behdad Esfahbod 4d7d54e380 [coretext] Bump a required version
Fixes https://github.com/harfbuzz/harfbuzz/issues/5354
2025-06-06 09:32:49 -06:00
Behdad Esfahbod a9c2c63518 [sanitize] Fix pointer math
Should fix https://github.com/harfbuzz/harfbuzz/issues/5347
2025-06-04 11:58:20 -06:00
dependabot[bot] fbf5b2aa03 Bump ossf/scorecard-action from 2.4.1 to 2.4.2
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/f49aabe0b5af0936a0987cfb85d86b75731b0186...05b42c624433fc40578a4040d5cf5e36ddca8cde)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-02 15:23:44 +03:00
dependabot[bot] b80f7ae082 Bump setuptools from 80.8.0 to 80.9.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 80.8.0 to 80.9.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v80.8.0...v80.9.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 80.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-02 14:25:32 +03:00
Khaled Hosny 352845eef6 [ci] Move clang-c++2a job from CircleCI to GitHub Actions
Add a few more configurations for building with -std=c++11 and -Werror.

Fixes https://github.com/harfbuzz/harfbuzz/issues/5348
2025-06-02 00:31:22 +03:00
Khaled Hosny fa7735f593 [ci] Move publishing dist tarball from CircleCI to GitHub Actions 2025-06-02 00:31:22 +03:00
Khaled Hosny 273b8e4d3b [ci] Move cross builds from CircleCI to GitHub Actions 2025-06-02 00:31:22 +03:00
Khaled Hosny aaad61cac2 [ci] Move sanitizer builds from CircleCI to GitHub Actions 2025-06-02 00:31:22 +03:00
Khaled Hosny 3e3e9dfadf [ci/circleci] Consistently call apt update 2025-06-02 00:31:22 +03:00
Khaled Hosny 095a09aa66 [ci/msvc-ci] Switch to windows-2025 image
The windows-2019 image is closing down.
2025-06-02 00:31:22 +03:00
Behdad Esfahbod 5a73e018b8 [algs] Avoid C++14'ism 2025-05-31 16:26:31 -06:00
Behdad Esfahbod 6fb10ded54 [ft] Reject loading of font directory 2025-05-29 12:29:34 -06:00
Behdad Esfahbod 4adeb6a01e [paint] Move float stability test to the paint layer from the test 2025-05-29 12:28:31 -06:00
Behdad Esfahbod 144d0cb3bb Remove file accidentally added 2025-05-28 17:01:24 -06:00
Behdad Esfahbod 16c71077f5 Merge branch 'main' into HVF 2025-05-28 16:58:37 -06:00
Behdad Esfahbod 5cebdd670c [ft] Handle another memory failure 2025-05-28 16:22:23 -06:00
Behdad Esfahbod 4b573b52d8 [ft] Fix a crash if setting font funcs had failed
https://github.com/harfbuzz/harfbuzz/security/advisories/GHSA-8x8c-6xcc-pqmj
2025-05-28 15:28:09 -06:00
Behdad Esfahbod 83cf7d109f [rust] cargo update 2025-05-27 07:43:55 -06:00
Behdad Esfahbod 9f5d803871 [font] Refuse immutable fonts in set_funcs_using()
Return early.
2025-05-26 16:07:51 -06:00
Behdad Esfahbod 8eb2f07cc8 Merge branch 'main' into HVF 2025-05-26 13:23:08 -06:00
Behdad Esfahbod df111468b0 [ft] Fix crash on some old versions of freetype 2025-05-26 13:16:29 -06:00
dependabot[bot] e9276cf83d Bump setuptools from 80.7.1 to 80.8.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 80.7.1 to 80.8.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v80.7.1...v80.8.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 80.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-26 21:50:18 +03:00
Khaled Hosny 2cd19d4b45 [meson] Fix build with -Dfuzzer_ldflags on meson >= 1.4.0
The failing-alloc.c file is appended to various hb_sources_* as a
string, but on >= 1.4.0 we call full_path() on the sources, and this
works only with file objects.

Fixes https://github.com/harfbuzz/harfbuzz/pull/5340
2025-05-26 13:30:47 +03:00
Behdad Esfahbod ff7c1e483d [ft] Make it work with FreeType < 2.8 2025-05-25 14:54:51 -06:00
Behdad Esfahbod 31653e6bc1 Revert "[ItemVariationStore] Rewrite the main loop"
This reverts commit 57b636fb13c7ef55d6f435b8f560df653f02612e.
2025-05-25 14:54:51 -06:00
Behdad Esfahbod 8e0243c492 [ItemVariationStore] Rewrite the main loop
Slows down slightly. Going to revert.
2025-05-25 14:54:51 -06:00
Ozkan Sezer bd6b30b186 cmake: always set inline hidden flag.
This practically reverts commit ac92ed7d68:
minimum required cmake version is more than new enough.
2025-05-24 18:24:36 +03:00
Behdad Esfahbod 1744743a48 [ot-font] Remove comment
We do NOT want to pass gvar_cache to VARC, since VARC uses
different coordinates for different glyphs, so the cache
values will be wrong.
2025-05-23 19:21:04 -06:00
Behdad Esfahbod 7e353d3718 [test] Remove u8 prefix from strings
No idea how/why this got in there to begin with.
2025-05-23 14:31:58 -06:00
Garret Rieger fac64e5838 [instancer] add a test which checks calculation of vmtx tsb during CFF2 instancing. 2025-05-23 12:47:23 -06:00
Garret Rieger cb53f4b5aa [instancer] fix tsb calculation for CFF2 fonts.
tsb was being set equal to the y max of each glyph, which is not correct. Instead calculate tsb as vorg.y - ymax.
2025-05-23 12:47:23 -06:00
Behdad Esfahbod e69b3c4159 [ItemVariationStore] Speed up get_delta
Another 15% in the same benchmark.
2025-05-22 20:41:36 -06:00
Behdad Esfahbod 227a5e11ee [VarRegionList] Inline evaluate() cache lookup
Seeing 45% speedup in benchmark-font glyph_h_advances benchmark
on a mega variable font!
2025-05-22 20:12:01 -06:00
Jeff McKenna c200418f15 remove hb-ot-shape-closure 2025-05-22 07:45:04 -07:00
Behdad Esfahbod e1dcc454f1 [gvar] Use cached scratch in get_extents
Makes it alloc-free.

15% faster on benchmark-font glyph_extents RobotoFlex var benchmark.
2025-05-21 16:01:44 -06:00
Behdad Esfahbod 3e93786cc4 [ot-layout] More (nullable) instead of (optional)
Honestly I don't know why we should ever use (optional).
Looks like (nullable) applies to all (optional) and some more
places.

https://gi.readthedocs.io/en/latest/annotations/giannotations.html
2025-05-21 14:50:35 -06:00
Behdad Esfahbod 4a8a3e12cf [ot-layout] Docs
Fixes https://github.com/harfbuzz/harfbuzz/issues/5335
2025-05-21 14:45:42 -06:00
Behdad Esfahbod 1e0b6a5c5d Merge branch 'main' into HVF 2025-05-21 14:43:47 -06:00
Behdad Esfahbod 87f2f9b5e0 [ft] Reset some FT properties properly 2025-05-21 14:43:20 -06:00
Behdad Esfahbod 443ef5f02c [ft] Regain some performance 2025-05-21 14:29:01 -06:00
Behdad Esfahbod a13fd9ae68 Merge branch 'main' into HVF 2025-05-21 12:23:19 -06:00
Behdad Esfahbod 88b9feb917 [benchmark-font] Allow specifying variations on cmdline 2025-05-20 20:40:40 -06:00
Behdad Esfahbod 60c4b9cb61 [benchmark-font] Minor refactor
In prep for accepting arbitrary variations on the cmdline.
2025-05-20 20:36:39 -06:00