Commit Graph
18825 Commits
Author SHA1 Message Date
Behdad Esfahbod 2e9b431501 [harfruzz] Clear buffer before populating results 2025-05-07 17:06:04 -06:00
Behdad Esfahbod bb31aac07b [harfruzz] Set unsafe-to-break flag 2025-05-07 16:59:03 -06:00
Behdad Esfahbod 19a5d1aabd [test/shape] Only do unsafe-to-concat check for ot shaper
For now, to get harfRuzz testing going better.
2025-05-07 16:57:19 -06:00
Behdad Esfahbod 089e73a764 [buffer] Allow unsafe_to_break() whole buffer to succeed
Fixes https://github.com/harfbuzz/harfbuzz/pull/5315
2025-05-07 16:11:37 -06:00
Behdad Esfahbod 2f7fbeeea2 [test/shape] Allow specifying shaper / face-loader as env-vars 2025-05-07 13:42:56 -06:00
Behdad Esfahbod 01b7e2ec80 [rust] Request HarfRuzz 0.1 2025-05-07 11:29:14 -06:00
Behdad Esfahbod a7d8c9bf05 Merge pull request #5312 from harfbuzz/harfruzz
Add HarfRuzz shaper
2025-05-07 11:27:52 -06:00
Behdad Esfahbod 92f367ced3 [rust] Apply review feedback 2025-05-07 11:10:40 -06:00
Behdad Esfahbod 75588f5b2f [rust] Apply ChatGPT feedback 2025-05-07 11:07:07 -06:00
Behdad Esfahbod 302b6c8954 [harfruzz] Handle font creation failure 2025-05-06 16:30:47 -06:00
Behdad Esfahbod 21a67df4c9 [run-tests.py] Clean up file descriptors 2025-05-06 15:42:48 -06:00
Behdad Esfahbod 05d7518a39 [harfruzz] Cache shape-plan
Doesn't seem to speed up benchmark though.
2025-05-06 12:51:23 -06:00
Behdad Esfahbod 3268662bde [harfruzz] Towards shape-plan caching 2025-05-06 12:43:08 -06:00
Behdad Esfahbod 5c7992bea6 [harfruzz] Implement user features 2025-05-06 12:13:11 -06:00
Behdad Esfahbod d185d1c861 [harfruzz] Set variations 2025-05-06 12:09:00 -06:00
Behdad Esfahbod 154e528e57 [harfruzz] Separate font-data
In prep to adding variation coordinates.
2025-05-06 11:39:00 -06:00
Khaled Hosny 6f86001e0c [ci/configs] Add HB_NO_DRAW and HB_NO_PAINT 2025-05-06 20:17:30 +03:00
Khaled Hosny d89e90e8e3 [ci/configs] Make the build more useful by linking as well
Catches missing symbol issues.
2025-05-06 20:17:30 +03:00
Khaled Hosny 67bb0184a1 [ci/configs] Convert to a build matrix 2025-05-06 20:17:30 +03:00
Behdad Esfahbod 1a67f0a476 [harfbuzz] Minor use 2025-05-06 11:14:18 -06:00
Behdad Esfahbod 40ec1981ac [harfruzz] Set buffer properties 2025-05-06 11:12:47 -06:00
Behdad Esfahbod 99d1a4832d [harfruzz] Tighten check-symbols 2025-05-06 11:03:56 -06:00
Behdad Esfahbod e71bcaa873 [harfrbuzz] s/harfRuzz/HarfRuzz/g 2025-05-06 10:54:16 -06:00
Behdad Esfahbod 8fa6c9a39e [harfruzz] Fix lifecycle management
In the ugliest way. I'll wait for someone familiar with Rust to
suggest proper way to do it.

We don't cache the shape-plan, so this is much slower than the
HarfBuzz native shaper.
2025-05-06 10:38:47 -06:00
Behdad Esfahbod 790506ef51 [harfruzz] Handle buffer allocation failure 2025-05-06 10:38:47 -06:00
Behdad Esfahbod a78d2f27ab [harfruzz] Cache Face 2025-05-06 10:38:47 -06:00
Behdad Esfahbod b50b5a0db1 [harfruzz] Scale, and set segment properties 2025-05-06 10:38:47 -06:00
Behdad Esfahbod 4e98288a72 [harfruzz] Remove stale comment 2025-05-06 10:38:47 -06:00
Behdad Esfahbod cc5b19a435 [harfruzz] Ignore public symbols
I don't know how to hide these from the Rust side.
2025-05-06 10:38:47 -06:00
Behdad Esfahbod 1b3b2c2405 [rust] Remove unnecessary use 2025-05-06 10:38:47 -06:00
Behdad Esfahbod c1eb04e843 [rust] Move global allocator to lib.rs 2025-05-06 10:38:47 -06:00
Behdad Esfahbod c25fddbafb [harfruzz] Add basic harfRuzz shaper 2025-05-06 10:38:47 -06:00
Behdad Esfahbod 71523a421e [fontations] Move code from fontations/lib.rs into rust/font.rs
Add a rust feature for enable font backend.

In anticipation of adding a shaper using harfRuzz.
2025-05-06 10:38:47 -06:00
Behdad Esfahbod 1c07f48bcb Fix build with HB_NO_DRAW and HB_NO_PAINT
Fixes https://github.com/harfbuzz/harfbuzz/issues/5313
Fixes https://github.com/harfbuzz/harfbuzz/issues/5316
2025-05-06 09:47:12 -06:00
Behdad Esfahbod 2831956ba2 Merge pull request #5314 from harfbuzz/check-scripts-cleanup
Cleanup check-*.py scripts
2025-05-06 09:33:13 -06:00
Khaled Hosny 77c24e8a0e [check-*.py] Remove autotoolism
Instead of passing source dir and build dir to as envvars, pass
them directly as script arguments. The scripts also were supposed to be
able to run outsize of the build scripts, but this was broken since the
fallback when the envvars were not set was wrong.

The HBSOURCES and HBHEADERS are still passed as envvars since they are
long lists and might hit command line length limitation on some systems.
2025-05-06 13:17:13 +03:00
Khaled Hosny a5d4e7ba0d [check-static-inits.py] Cleanup 2025-05-06 12:50:28 +03:00
Khaled Hosny d403529211 [check-*.py] Format 2025-05-06 12:49:45 +03:00
Behdad Esfahbod 91b10f111d [meson_options] Reword 2025-05-05 15:14:48 -06:00
dependabot[bot] abf8384217 Bump github/codeql-action from 3.28.16 to 3.28.17
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.16 to 3.28.17.
- [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/28deaeda66b76a05916b6923827895f2b14ab387...60168efe1c415ce0f5521ea06d5c2062adbeed1b)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 15:24:09 +03:00
dependabot[bot] 9efe0f006e Bump hendrikmuhs/ccache-action from 1.2.17 to 1.2.18
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action) from 1.2.17 to 1.2.18.
- [Release notes](https://github.com/hendrikmuhs/ccache-action/releases)
- [Commits](https://github.com/hendrikmuhs/ccache-action/compare/a1209f81afb8c005c13b4296c32e363431bffea5...63069e3931dedbf3b63792097479563182fe70d1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 15:24:00 +03:00
dependabot[bot] ab92b85bf7 Bump setuptools from 80.0.0 to 80.3.1 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 80.0.0 to 80.3.1.
- [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.0.0...v80.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 15:23:46 +03:00
Khaled Hosny 63cdd745ff 11.2.0 11.2.0 2025-04-28 15:56:32 +03:00
Khaled Hosny 6f5ededc80 Minor 2025-04-28 15:56:32 +03:00
dependabot[bot] 5ae3f12f4e Bump actions/setup-python from 5.5.0 to 5.6.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/8d9ed9ac5c53483de85588cdf95a591a75ab9f55...a26af69be951a213d495a4c3e4e4022e16d87065)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 15:26:11 +03:00
dependabot[bot] f317fb54a0 Bump github/codeql-action from 3.28.15 to 3.28.16
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.15 to 3.28.16.
- [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/45775bd8235c68ba998cffa5171334d58593da47...28deaeda66b76a05916b6923827895f2b14ab387)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 15:26:00 +03:00
dependabot[bot] 5608b6ab90 Bump setuptools from 79.0.0 to 80.0.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 79.0.0 to 80.0.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/v79.0.0...v80.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 80.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 14:15:31 +03:00
Behdad Esfahbod fcedcf8111 [coretext] Another old-system build fix
Fixes https://github.com/harfbuzz/harfbuzz/issues/5300#issuecomment-2831684725
2025-04-25 19:04:37 -06:00
Behdad Esfahbod 47a73eab5c [coretext] Add a version check
Fixes https://github.com/harfbuzz/harfbuzz/issues/5300
2025-04-25 16:21:12 -06:00
Behdad Esfahbod 861b20b030 [coretext] Switch away from deprecated API 2025-04-25 09:31:19 -06:00