Commit Graph
17776 Commits
Author SHA1 Message Date
dependabot[bot] 3839e5fd59 Bump fonttools from 4.55.6 to 4.55.8 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.55.6 to 4.55.8.
- [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.55.6...4.55.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-03 04:28:16 -07:00
Tor Arne Vestbø 04b2006fc9 Remove outdated documentation note about CT operating in 96 DPI
As extensively discussed and documented in #1484, Core Text does
not operate in 96 DPI. Core Text doesn't actually have a concept of
DPI internally, as it doesn't rasterize anything by itself, it just
generates vector paths that get passed along to Core Graphics.

In practice this means Core Text operates in the classical macOS
logical DPI of 72, with one typographic point corresponding to one
point in the Core Graphics coordinate system, which for a normal
bitmap context then corresponds to one pixel -- or two pixels for
a "retina" context with a 2x scale transform.

As of f401f85a5a, we no longer apply
any assumptions in HB about the target DPI being different than the
72 DPI used by CT, for example to account for the Web's standard of
96 DPI, so let's remove the documentation that still indicated this
was necessary.
2025-02-03 04:28:02 -07:00
Khaled Hosny bbb9e56365 [ci] Pin GitHub workflows to Python 3.12 for now
Some dependencies seem to fail to install on Python 3.13.
2025-02-02 23:14:03 +02:00
Behdad Esfahbod d8d0987feb [benchmark-shape] Remove variable-font test set
It doesn't really affect shaping much. Kill it.
2025-02-02 18:08:09 +00:00
Behdad Esfahbod 138448487e [aat] Typo 2025-02-02 11:56:01 +00:00
Behdad Esfahbod f5e50890d0 [open-type] Another tweak to cmp()
Again, unlikely that compiler cares.
2025-02-02 11:40:27 +00:00
Behdad Esfahbod c68df817a6 [open-type] Minor tweak to cmp()
Remove codepath that was never taken.
2025-02-02 11:39:01 +00:00
Behdad Esfahbod 9bd75952e5 [benchmark-shape] Compare diff shapers, not font funcs 2025-02-02 11:14:49 +00:00
Behdad Esfahbod 66bb94fe46 [set-digest] Tune back to starting with 4
Make Amiri slightly slower again, but works better for AAT fonts
I tested.
2025-02-02 08:40:30 +00:00
Behdad Esfahbod 9fd855ed55 [set-digest] Tune a bit more
Saves another 2% on Amiri benchmark.
2025-02-02 07:57:50 +00:00
Behdad Esfahbod 880b92ed6e [set-digest] Fix build on Linux 2025-02-02 07:43:33 +00:00
Behdad Esfahbod 92f13bbdd7 [set-digest] Inline combiner
Instead of defining one digest and then combining three of them at
different shifts, inline the code The compiler can optimize it better.

3% speedup with Amiri benchmark.
2025-02-01 19:11:20 +00:00
Behdad Esfahbod c4c8eb4f8c [algs] Rename a macro
Clashes with Apple simd/simd.h
2025-02-01 15:58:47 +00:00
Behdad Esfahbod b394ab39e9 [test-buffer] Add code for testing end_ptr 2025-02-01 14:26:32 +00:00
Behdad Esfahbod 9ba286de08 [ot-shape] Micro-optimize ::equal
For two integers, it's faster to compare them directly.
2025-02-01 14:25:13 +00:00
dependabot[bot] 6d8035a99c Bump meson from 1.6.1 to 1.7.0 in /.ci
Bumps [meson](https://github.com/mesonbuild/meson) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/1.6.1...1.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 14:18:50 +02:00
dependabot[bot] adc5ef1e09 Bump codecov/codecov-action from 5.1.2 to 5.3.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.1.2 to 5.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/1e68e06f1dbfde0e4cefc87efeba9e4643565303...13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 14:18:08 +02:00
dependabot[bot] c2fa380391 Bump github/codeql-action from 3.28.1 to 3.28.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.1 to 3.28.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/b6a472f63d85b9c78a3ac5e89422239fc15e9b3c...f6091c0113d1dcf9b98e269ee48e8a7e51b7bdd4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 14:16:59 +02:00
dependabot[bot] 721470f564 Bump fonttools from 4.55.3 to 4.55.6 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.55.3 to 4.55.6.
- [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.55.3...4.55.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-27 14:16:22 +02:00
Behdad Esfahbod 9ef009f597 [test] Fix test
Broken by previous commit.
https://github.com/harfbuzz/harfbuzz/issues/5020#issuecomment-2613597379
2025-01-24 16:37:12 -07:00
Behdad Esfahbod 6be66b0ef2 [ft/coretext] Fail setting font-funcs gracefully
Fixes https://github.com/harfbuzz/harfbuzz/issues/5020
2025-01-24 16:26:54 -07:00
Behdad Esfahbod 4df11621ce [VARC] Fix variable binding
Ouch.
2025-01-24 05:00:05 -07:00
Behdad Esfahbod 2fa9ccee61 [VARC] Simplify 2025-01-23 23:14:53 -07:00
Behdad Esfahbod 2d2418ebac [VARC] Avoid float div-by-zero 2025-01-23 23:14:45 -07:00
Behdad Esfahbod fe9398e9a9 [VARC] Chain transforms
Previous code was actually wrong even, for non-uniform x/y font scale.

Fixes https://github.com/harfbuzz/harfbuzz/issues/5017
2025-01-23 22:59:12 -07:00
David Corbett 22fbc75688 [ot-tags] Update IANA and OT language registries 2025-01-22 11:03:02 -07:00
Khaled Hosny a888761a78 [hb-ft] Hopefully clarify hb_ft_font_create() life cycle even more
Add “only” to one more place.
2025-01-21 15:57:10 +02:00
dependabot[bot] a40d6921dc Bump github/codeql-action from 3.27.6 to 3.28.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.6 to 3.28.1.
- [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/aa578102511db1f4524ed59b8cc2bae4f6e88195...b6a472f63d85b9c78a3ac5e89422239fc15e9b3c)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 21:04:40 +02:00
dependabot[bot] 3414b2dc6a Bump codecov/codecov-action from 5.1.1 to 5.1.2
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/7f8b4b4bde536c465e797be725718b88c5d95e0e...1e68e06f1dbfde0e4cefc87efeba9e4643565303)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 21:04:28 +02:00
dependabot[bot] 6e518c3f55 Bump actions/upload-artifact from 4.4.3 to 4.6.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.3 to 4.6.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882...65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 21:03:54 +02:00
dependabot[bot] 66cc1e7da9 Bump hendrikmuhs/ccache-action from 1.2.14 to 1.2.16
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action) from 1.2.14 to 1.2.16.
- [Release notes](https://github.com/hendrikmuhs/ccache-action/releases)
- [Commits](https://github.com/hendrikmuhs/ccache-action/compare/ed74d11c0b343532753ecead8a951bb09bb34bc9...53911442209d5c18de8a31615e0923161e435875)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 21:03:35 +02:00
Behdad Esfahbod 3a7ebc320d [config] Fix build with HB_LEAN
Fixes https://github.com/harfbuzz/harfbuzz/issues/4997
2025-01-13 14:53:31 -07:00
Khaled Hosny 1e629c3511 [morx] Blocklist dysfunctional morx table of AALMAGHRIBI.ttf font
Fixes #4108
2025-01-13 11:30:00 -07:00
Khaled Hosny 7b27c8edd4 10.2.0 10.2.0 2025-01-11 18:13:18 +02:00
Thrita ba31fc95a9 Add support for Apple framework builds (#4993)
* Build: Update Apple Framework properties

Signed-off-by: Treata11 <treata11@yahoo.com>

* Build: Fix issues related to Framework properties

Signed-off-by: Treata11 <treata11@yahoo.com>

* Build: Fix framework properties of SHARED_LIBS

Signed-off-by: Treata11 <treata11@yahoo.com>

* Fix typos

---------

Signed-off-by: Treata11 <treata11@yahoo.com>
2025-01-11 11:51:57 +02:00
Behdad Esfahbod 021b443886 Garay script is RTL
Fixes https://github.com/harfbuzz/harfbuzz/issues/4996
2025-01-10 13:57:16 -07:00
Khaled Hosny fc42cdd68d [docs] Reduce warnings 2025-01-08 22:17:03 +02:00
Khaled Hosny 1ce8191289 [subset-serialize] Formatting 2025-01-08 15:56:10 +02:00
Khaled Hosny e943a0098b [subset-serialize] Try to fix MSVC build 2025-01-08 15:56:10 +02:00
Khaled Hosny 9d5beeafa1 [subset-serialize] Fix doc generation
gtk-doc is rather sensitive to white space, and it does not seem to be
able to parse bare `unsigned` without `int`.
2025-01-08 15:12:40 +02:00
Garret Rieger bdb50f1c6e [repacker] Also rename api method from hb_subset_repack_or_fail -> hb_subset_serialize_or_fail. 2025-01-07 13:39:51 -07:00
Garret Rieger 056504168c [repacker] rename hb-subset-repacker -> hb-subset-serialize.
Also hb_link_t and hb_object_t to hb_subset_serialize_link_t and hb_subset_serialize_object_t.
2025-01-07 13:39:51 -07:00
dependabot[bot] 3a63e174d8 Bump jinja2 from 3.1.4 to 3.1.5 in /.ci
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-07 13:02:43 -07:00
Behdad Esfahbod 503553c3d2 [docs] Fix build for real this time 2025-01-07 11:50:12 -07:00
Behdad Esfahbod fca062eb4c [docs] Fix build fail 2025-01-07 11:38:25 -07:00
Behdad Esfahbod c1f5b780f3 Fix docs 2025-01-07 11:31:05 -07:00
Behdad Esfahbod 379e3c989a [shape] Wrap justify API in EXPERIMENTAL
Fixes https://github.com/harfbuzz/harfbuzz/issues/4984
2025-01-07 11:29:35 -07:00
Garret Rieger 5a6f5922dd [repacker] Promote repacking API to stable.
For #227.
2025-01-07 11:28:38 -07:00
Behdad Esfahbod 1abc8d2f37 Revert "Bump setuptools from 73.0.1 to 75.7.0 in /.ci"
This reverts commit 23358ec279.

Bots failing.
2025-01-07 11:27:46 -07:00
dependabot[bot] 23358ec279 Bump setuptools from 73.0.1 to 75.7.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 73.0.1 to 75.7.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/v73.0.1...v75.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 14:20:52 -07:00