Commit graph

17751 commits

Author SHA1 Message Date
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](aa57810251...b6a472f63d)

---
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](7f8b4b4bde...1e68e06f1d)

---
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](b4b15b8c7c...65c4c4a1dd)

---
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](ed74d11c0b...5391144220)

---
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 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
David Corbett
57569baa65 Don’t insert U+25CC before super/subscript digits 2025-01-03 05:19:13 -07:00
dependabot[bot]
b5a65e0f20 Bump meson from 1.5.2 to 1.6.1 in /.ci
Bumps [meson](https://github.com/mesonbuild/meson) from 1.5.2 to 1.6.1.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/1.5.2...1.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 05:18:18 -07:00
wang-bin
3258b1f248 [coretext]: fix tvOS build
define kCTFont* when unavailable, i.e. ios < 6.0, macOS < 10.8 or tvOS < 9.0.
MAC_OS_X_VERSION_MIN_REQUIRED is always defined in AvailabilityMacros.h for all targets,
while __ENVIRONMENT_*_VERSION_MIN_REQUIRED__ is defined by compiler when building a specific target
2024-12-20 00:25:45 -07:00
Khaled Hosny
524e0f0ad5 [doc] Improve hb_face_reference_table() docs 2024-12-19 11:54:10 +02:00
dependabot[bot]
e451e91ec3 Bump ninja from 1.11.1.2 to 1.11.1.3 in /.ci
Bumps [ninja](https://github.com/scikit-build/ninja-python-distributions) from 1.11.1.2 to 1.11.1.3.
- [Release notes](https://github.com/scikit-build/ninja-python-distributions/releases)
- [Changelog](https://github.com/scikit-build/ninja-python-distributions/blob/master/HISTORY.rst)
- [Commits](https://github.com/scikit-build/ninja-python-distributions/compare/1.11.1.2...1.11.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 04:22:16 -07:00
dependabot[bot]
ce00135e37 Bump fonttools from 4.55.2 to 4.55.3 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.55.2 to 4.55.3.
- [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.2...4.55.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-16 04:22:06 -07:00
David Corbett
edb3b20895 Make hb_test_tools.py work in Python 3.13 2024-12-15 12:34:48 -07:00
David Corbett
f887096ab1 [myanmar] Allow all tones (& visarga) in any order 2024-12-15 12:32:08 -07:00
Behdad Esfahbod
c8050b3872 [coretext] Fix build on old Mac
Fixes https://github.com/harfbuzz/harfbuzz/issues/4968
2024-12-10 11:22:15 -07:00
dependabot[bot]
c6609bed68 Bump codecov/codecov-action from 5.0.7 to 5.1.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.0.7 to 5.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](015f24e681...7f8b4b4bde)

---
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>
2024-12-09 15:58:37 +02:00
dependabot[bot]
8364839f5c Bump github/codeql-action from 3.27.5 to 3.27.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.5 to 3.27.6.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f09c1c0a94...aa57810251)

---
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>
2024-12-09 15:41:46 +02:00
dependabot[bot]
30099ee188 Bump fonttools from 4.55.0 to 4.55.2 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.55.0 to 4.55.2.
- [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.0...4.55.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 15:41:27 +02:00
David Corbett
40ef6c0577 [ot-tags] Update OpenType language system registry 2024-12-05 15:59:39 -07:00
Kesavan Yogeswaran
1c249be96e Sidestep nontrivial-memaccess warning in Crap()
With -Wnontrivial-memaccess, recent versions of clang flag the usage of
memcpy in hb-null.hh with pointers to nontrivially-copyable types.
Sidestep this warning by casting the problematic pointer to void*.
2024-12-02 14:55:50 -07:00
Caleb Maclennan
10cf348a67 [gsubgpos] Guard integer arithmetic against wrapping below zero
When either casting a signed integer to an unsigned one or subtracting
a value from an unsigned one, add assertions to verify we will not end
up below expected bounds.
2024-11-28 16:22:33 -07:00
Luca Ebach
780aaca89b set harfbuzz version in cmake config file 2024-11-28 02:31:46 +02:00
Qunxin Liu
3bb89eebd6 [instancer] use hb_parse_double() for parsing axis positions
Added hb_subset_axis_range_from/to_string()
2024-11-25 09:38:13 -07:00
dependabot[bot]
26a737ac15 Bump ninja from 1.11.1.1 to 1.11.1.2 in /.ci
Bumps [ninja](https://github.com/scikit-build/ninja-python-distributions) from 1.11.1.1 to 1.11.1.2.
- [Release notes](https://github.com/scikit-build/ninja-python-distributions/releases)
- [Changelog](https://github.com/scikit-build/ninja-python-distributions/blob/master/HISTORY.rst)
- [Commits](https://github.com/scikit-build/ninja-python-distributions/compare/1.11.1.1...1.11.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 04:33:37 -07:00
dependabot[bot]
1dc8ff050f Bump codecov/codecov-action from 5.0.2 to 5.0.7
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.0.2 to 5.0.7.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](5c47607acb...015f24e681)

---
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>
2024-11-25 04:07:53 -07:00
dependabot[bot]
7d6729de29 Bump github/codeql-action from 3.27.4 to 3.27.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.4 to 3.27.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](ea9e4e3799...f09c1c0a94)

---
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>
2024-11-25 04:07:44 -07:00
Khaled Hosny
056cc56044 [config] Improve language handling with HB_LEAN
Remove HB_NO_LANGUAGE_LONG and HB_NO_LANGUAGE_PRIVATE_SUBTAG defines to
support language tags longer than 2 letters and private language tags
(needed to set language using OpenType language tags) respectively.

HB_LEAN is used when smaller binary size is desired, but in general it
should not produce different shaping output.

Fixes https://github.com/harfbuzz/harfbuzzjs/issues/108
2024-11-24 17:42:43 -07:00
Khaled Hosny
5e584ee7d9 [ci] Try to fix homebrew pkg-config/pkgconf mess
The packages are in conflict again, try to remove pkg-config this time
and use pkgconf.
2024-11-24 09:43:12 +02:00
Garret Rieger
0b7beefd0b Raise table growth limit during subsetting. Real case encountered that exceeded the current limit. Fixes #4943. 2024-11-21 18:10:21 -07:00
Khaled Hosny
773fe85018 [layout] Blocklist the GDEF table of various Courier New versions
These files have incorrectly give several base glyphs GDEF mark glyph
class leading in zeroing there advance widths.

Fixes https://github.com/harfbuzz/harfbuzz/issues/4936
2024-11-21 14:40:57 -07:00
Khaled Hosny
5002153e3a [ci] Try to fix macOS build
It seems that Homebrew now packages an alternative implementation of
pkg-config called pkgconf and some of the packages we install depend on
it, and installing both pkgconf and pkg-config is not supported.

Looks like pkgconf can’t find dependencies for us, so we do some
brew unlink/link dance to get both installed, and hope for the best.
2024-11-20 17:51:37 +02:00