Commit Graph
17625 Commits
Author SHA1 Message Date
dependabot[bot] a87fa89b4e Bump setuptools from 73.0.1 to 75.1.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 73.0.1 to 75.1.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.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 09:43:24 -06:00
dependabot[bot] fa79b51d13 Bump fonttools from 4.53.1 to 4.54.1 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.53.1 to 4.54.1.
- [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.53.1...4.54.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 09:43:11 -06:00
Behdad Esfahbod c7ef6a2ed5 Remove the hack re variation-selectors
Instead of abusing an unused Gen_Cat value, use existing facilities
to remember variation selectors.

Addresses
https://github.com/RazrFalcon/rustybuzz/pull/134#issuecomment-2374894164
2024-09-25 19:42:40 -06:00
Khaled Hosny a1d9bfe628 10.0.1 10.0.1 2024-09-24 19:52:43 +03:00
Behdad Esfahbod 527e60b015 [morx] Relax sanitizing
Ignore claimed ChainSubtable length and only sanitize against
the whole table.

Works around what seems to be a broken LookupFormat0 in a
Noncontextual subtable in GeezaPro on MacOS 15.0

Fixes https://github.com/harfbuzz/harfbuzz/issues/4873
2024-09-24 09:40:44 -06:00
Behdad Esfahbod 867366ccf1 [test] Add GeezaPro tests for MacOS 15.0 2024-09-24 09:40:44 -06:00
Behdad Esfahbod 70ca19dff3 Use hb_barrier() instead of longer name
No functional change.
2024-09-24 08:42:44 -06:00
Khaled Hosny d5261f7234 10.0.0 10.0.0 2024-09-23 23:07:55 +03:00
Khaled Hosny 667ce682a2 [hb-view] Support cairo script as output format
Can be handy for debugging the series of operations cairo performs.
2024-09-23 22:08:41 +03:00
Behdad Esfahbod 7a390b5095 [hb-view] Simplify background drawing
Works around a Firefox bug.

Fixes https://github.com/harfbuzz/harfbuzz/issues/4811
2024-09-23 12:16:05 -06:00
chitao1234 700ef11c9b [meson] Add back with_libstdcxx build option
Building harfbuzz when targeting Android API<=20 would need libstdc++
due to lack of uselocale and freelocale in C library but present in
libstdc++.

This reverts commit 0151da23d6.
2024-09-23 17:44:33 +03:00
David Corbett 242b584405 [USE] Update the data files
This uses the data files from
<https://github.com/microsoft/font-tools/tree/1ffb9024b755313e661e8f492d87954856cc96a6/USE>.
2024-09-23 08:39:50 -06:00
Behdad Esfahbod 7a890c2eb7 Add hb_barrier() to switches of unions
https://github.com/harfbuzz/harfbuzz/pull/4864#issuecomment-2366923736
2024-09-23 08:02:25 -06:00
Behdad Esfahbod 7aace3d3fc Ignore CGJ and Mongolian Variation Selectors during GPOS
Fixes https://github.com/harfbuzz/harfbuzz/issues/4869
2024-09-23 08:00:06 -06:00
Behdad Esfahbod 540666b807 [paint] Err. Make previous commit actually work 2024-09-23 07:01:26 -06:00
Behdad Esfahbod ed6362600d [paint] Intersect clips 2024-09-23 07:00:41 -06:00
Behdad Esfahbod b0cf3d81ea [paint] Comment 2024-09-23 06:50:59 -06:00
Behdad Esfahbod b95cb48f88 Revert "Bump setuptools from 73.0.1 to 75.1.0 in /.ci"
This reverts commit 25591a3a1d.
2024-09-23 06:37:54 -06:00
Behdad Esfahbod 5e5cd10e10 Don't make variation-selectors default-ignorable if not-found set
https://github.com/harfbuzz/harfbuzz/pull/4863#issuecomment-2366908261
2024-09-23 06:30:59 -06:00
Behdad Esfahbod b94a39d7f3 Follow up to variation-selector-not-found glyph
Addresses https://github.com/harfbuzz/harfbuzz/pull/4529#discussion_r1769638033

I'm not sure if this is an improvement. By leaving the var-selector
as default-ignorable, ligatures can form around it, and the resulting
cluster won't make it clear *which* base+var-selector could not be
resolved... That doesn't quite help font fallback the way we want.
Putting up for review.
2024-09-23 06:30:59 -06:00
dependabot[bot] 25591a3a1d Bump setuptools from 73.0.1 to 75.1.0 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 73.0.1 to 75.1.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.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 06:15:02 -06:00
dependabot[bot] 29157e6a64 Bump meson from 1.5.1 to 1.5.2 in /.ci
Bumps [meson](https://github.com/mesonbuild/meson) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/mesonbuild/meson/releases)
- [Commits](https://github.com/mesonbuild/meson/compare/1.5.1...1.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 06:14:51 -06:00
dependabot[bot] 5807388b85 Bump github/codeql-action from 3.26.7 to 3.26.8
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.7 to 3.26.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/8214744c546c1e5c8f03dde8fab3a7353211988d...294a9d92911152fe08befb9ec03e240add280cb3)

---
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-09-23 06:14:38 -06:00
Behdad Esfahbod 0958929508 [post] Add a hb_barrier() 2024-09-22 13:01:18 -06:00
Behdad Esfahbod 4877405211 [GDEF] Sprinkle some hb_barrier()s 2024-09-22 13:01:14 -06:00
Behdad Esfahbod e4e9f6a18f [gsubgpos] Add a barrier
Fixes https://github.com/harfbuzz/harfbuzz/issues/4852
2024-09-22 11:17:48 -06:00
Behdad Esfahbod 0dace9f341 [PairPos] Forgo an optimization for the sake of compatibility
Fixes https://github.com/harfbuzz/harfbuzz/issues/4797
2024-09-21 12:38:16 -06:00
Behdad Esfahbod 287046f71a [buffer] Hook up not-found-variation-selector-glyph
Fixes https://github.com/harfbuzz/harfbuzz/issues/4398
2024-09-21 12:21:56 -06:00
Behdad Esfahbod a003890e84 [buffer] Add hb_buffer_[sg]et_not_found_variation_selector_glyph()
Unused.
2024-09-21 12:21:56 -06:00
Qunxin Liu 6fd76e1f67 [subset] offset format fix in gvar table 2024-09-17 15:23:43 -06:00
dependabot[bot] 63d09dbefc Bump github/codeql-action from 3.26.6 to 3.26.7
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.6 to 3.26.7.
- [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/4dd16135b69a43b6c8efb853346f8437d92d3c93...8214744c546c1e5c8f03dde8fab3a7353211988d)

---
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-09-16 04:39:42 -07:00
David Corbett c500f2a1f4 Merge pull request #4859 from harfbuzz/unicode-16
Update to Unicode 16.0.0
2024-09-14 13:52:42 -04:00
David Corbett e30dedbb42 [Unicode 16] Add tests 2024-09-14 12:06:08 -04:00
David Corbett c66f25ef1d [Unicode 16] Send the new scripts to USE 2024-09-14 11:47:56 -04:00
David Corbett 85a9ec8971 [Unicode 16] Update the USE table 2024-09-14 11:44:03 -04:00
David Corbett 87c685d370 [Unicode 16] Update the vowel constraint table 2024-09-14 11:20:16 -04:00
David Corbett 7f325b6c80 [Unicode 16] Update the Indic table 2024-09-14 11:19:04 -04:00
David Corbett 554658e3ae [Unicode 16] Update the emoji table & cluster test 2024-09-14 11:08:37 -04:00
David Corbett dc3e005d15 [Unicode 16] Update the Arabic joining script list 2024-09-14 11:03:26 -04:00
David Corbett 351e20c216 [Unicode 16] Update the Arabic table 2024-09-14 11:02:54 -04:00
David Corbett 42369b8439 [Unicode 16] Update the UCD table 2024-09-14 11:00:48 -04:00
David Corbett f279e25812 [Unicode 16] Add new hb_script_t values 2024-09-14 10:47:52 -04:00
David Corbett a5c9cc4e22 [USE, Unicode 16] Update the data files
This uses the data files from
<https://github.com/microsoft/font-tools/tree/0fbf022accc7c29afcf46262600175655baf4081/USE>
and closes #4858.
2024-09-14 10:45:01 -04:00
Behdad Esfahbod 98353ecefe [test] Run shape tests with C locale as well
https://github.com/harfbuzz/harfbuzz/pull/4857
2024-09-11 11:35:15 -07:00
Alexander Grund 70334d74dc Run subset tests with C-locale
One problematic input is `--instance=wdth=112.5` which is parsed using
the users local (`strtof`).
So while in C or US locales it yields 112.5 in some European locales it
yields 112 as the dot is not valid in this position.

A European user might pass "112,5" instead but for the test the C locale
is assumed, so enforce it.

Fixes #4854
2024-09-11 12:07:04 -06:00
Behdad Esfahbod 0a82f43a61 [arabic] Remove non-sensical code
We were adding rclt after checking that the font doesn't have it!
2024-09-11 10:38:12 -07:00
dependabot[bot] a070f9ebbe Bump github/codeql-action from 3.26.5 to 3.26.6
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.5 to 3.26.6.
- [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/2c779ab0d087cd7fe7b826087247c2c81f27bfa6...4dd16135b69a43b6c8efb853346f8437d92d3c93)

---
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-09-02 09:33:19 -06:00
dependabot[bot] cb6ba68714 Bump actions/setup-python from 5.1.1 to 5.2.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/39cd14951b08e74b54015e9e001cdefcf80e669f...f677139bbe7f9c59b41e40162b753c062f5d49a3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-02 09:33:09 -06:00
dependabot[bot] a75d48753b Bump actions/upload-artifact from 4.3.6 to 4.4.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/834a144ee995460fba8ed112a2fc961b36a5ec5a...50769540e7f4bd5e21e526ee35c689e35e0d6874)

---
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>
2024-09-02 09:33:02 -06:00
Qunxin Liu a141e25c42 [subset] remove unnecessary check on name IDs
See: https://learn.microsoft.com/en-us/typography/opentype/spec/features_ae
The spec says they are expected to be in the font-specific name ID range (256–32767),
though that is not a requirement in this Feature Parameters specification.
2024-08-30 11:19:35 -06:00