Commit graph

17288 commits

Author SHA1 Message Date
Behdad Esfahbod
ba1f194a1d [gsubgpos] Reduce stack use in recursion 2024-05-02 16:37:51 -05:00
Qunxin Liu
c04d0a295f [subset] generate colrv1 varsotre inner_maps in the plan
Also merge remap_variation_indices APIs used by GDEF and BASE into 1
2024-05-02 12:13:11 -05:00
Qunxin Liu
690893e367 [subset] collect variation indices for COLRv1 2024-05-02 12:13:11 -05:00
dependabot[bot]
6ac7a05cdc Bump actions/upload-artifact from 4.3.2 to 4.3.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](1746f4ab65...65462800fd)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 09:12:33 -05:00
dependabot[bot]
11f37aac8f Bump hendrikmuhs/ccache-action from 1.2.12 to 1.2.13
Bumps [hendrikmuhs/ccache-action](https://github.com/hendrikmuhs/ccache-action) from 1.2.12 to 1.2.13.
- [Release notes](https://github.com/hendrikmuhs/ccache-action/releases)
- [Commits](faf867a11c...c92f40bee5)

---
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>
2024-04-29 09:12:21 -05:00
dependabot[bot]
77b9b8c862 Bump github/codeql-action from 3.25.1 to 3.25.3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.1 to 3.25.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c7f9125735...d39d31e687)

---
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-04-29 09:12:12 -05:00
dependabot[bot]
c7b4f16ae8 Bump actions/checkout from 4.1.3 to 4.1.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1d96c772d1...0ad4b8fada)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 09:12:02 -05:00
Garret Rieger
aeadd7c1a6 [subset] Offsets in BaseLangSysRecord are relative to the parent table and not the BaseLangSysRecord.
https://learn.microsoft.com/en-us/typography/opentype/spec/base#baselangsysrecord-1
2024-04-23 14:13:30 -06:00
Garret Rieger
33cae9b4f5 [repacker] If repacking fails for GSUB/GPOS try re-running with extension promotion and table splitting. 2024-04-22 11:16:36 -06:00
dependabot[bot]
adab75fbaa Bump actions/upload-artifact from 4.3.1 to 4.3.2
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](5d5d22a312...1746f4ab65)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 10:59:03 -05:00
dependabot[bot]
7aab4847db Bump github/codeql-action from 3.24.10 to 3.25.1
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.10 to 3.25.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](4355270be1...c7f9125735)

---
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>
2024-04-22 10:58:57 -05:00
dependabot[bot]
e2892805a9 Bump actions/checkout from 4.1.2 to 4.1.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9bb56186c3...1d96c772d1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 10:58:51 -05:00
Behdad Esfahbod
a69a6cb09e Avoid a copy 2024-04-16 17:09:07 -06:00
Garret Rieger
2cfa55056c [instancer] Switch to doubles for delta calculations.
FontTools uses double's internally so match FontTool's precision so we get the same results more often for floating point calculations.
2024-04-15 16:06:19 -06:00
dependabot[bot]
f8ebf27a72 Bump setuptools from 69.2.0 to 69.5.1 in /.ci
Bumps [setuptools](https://github.com/pypa/setuptools) from 69.2.0 to 69.5.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/v69.2.0...v69.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 06:03:10 -05:00
dependabot[bot]
71200c1341 Bump codecov/codecov-action from 4.2.0 to 4.3.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](7afa10ed9b...84508663e9)

---
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-04-15 06:03:02 -05:00
Timo Suoranta
39b5ae79f0 Fix for #4395 2024-04-12 19:33:29 +02:00
Behdad Esfahbod
c053e8f292 [aat] Simplify (or not?) SubtableGlyphCoverage.sanitize() 2024-04-11 08:58:49 -06:00
Behdad Esfahbod
d137d55799 [aat] Add (unused) SubtableGlyphCoverage 2024-04-11 08:53:17 -06:00
Behdad Esfahbod
d8d2a98b8d [aat] Whitespace 2024-04-11 07:45:41 -06:00
Khaled Hosny
b3e4721af7 Revert "[ci] Enable experimental_api on distcheck job"
This reverts commit 89570d1959.
2024-04-09 18:54:36 +02:00
dependabot[bot]
607931b396 Bump fonttools from 4.50.0 to 4.51.0 in /.ci
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.50.0 to 4.51.0.
- [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.50.0...4.51.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 08:42:46 -05:00
dependabot[bot]
cd825c9ae8 Bump github/codeql-action from 3.24.9 to 3.24.10
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.9 to 3.24.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1b1aada464...4355270be1)

---
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-04-09 08:42:29 -05:00
dependabot[bot]
51dcc99c87 Bump codecov/codecov-action from 4.1.1 to 4.2.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](c16abc29c9...7afa10ed9b)

---
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-04-09 08:42:17 -05:00
Garret Rieger
c84acc8e07 [subset] Fix fuzzer found memory leak.
Fixes https://oss-fuzz.com/testcase-detail/6159925345583104.
2024-04-09 08:41:32 -05:00
Khaled Hosny
89570d1959 [ci] Enable experimental_api on distcheck job 2024-04-09 08:41:11 -05:00
Garret Rieger
12dcafe015 Add test-hb-subset-parsing.c to extra dist. Needed for meson compile w/ experimental api. 2024-04-09 08:41:11 -05:00
David Corbett
f3727c4767 Recognize ot_languages2’s disambiguation priority 2024-04-05 18:35:53 -06:00
Garret Rieger
2fcace77b2 [subet] Don't use experimental api flag in benchmark if not compiled with experimental api. 2024-04-02 11:55:44 -06:00
dependabot[bot]
41612df9d3 Bump actions/setup-python from 5.0.0 to 5.1.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](0a5c615913...82c7e631bb)

---
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-04-01 05:41:06 -06:00
dependabot[bot]
d5d05a9866 Bump codecov/codecov-action from 4.1.0 to 4.1.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](54bcd8715e...c16abc29c9)

---
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-04-01 05:40:53 -06:00
Behdad Esfahbod
7de2d11150 Fix autotools test 2024-04-01 01:55:38 -06:00
Khaled Hosny
2bd6124737 Fix Python warning
fix_get_types.py:14: SyntaxWarning: invalid escape sequence '\('
2024-03-30 02:20:21 +02:00
Khaled Hosny
63973005bc 8.4.0 2024-03-29 16:32:00 +02:00
Behdad Esfahbod
5b34058d35
Merge pull request #4640 from googlefonts/gdef
[subset] When serializing GDEF ensure that varstore is packed last.
2024-03-28 18:56:29 -06:00
Garret Rieger
69f9c29ec1 [repacker] add tests of serializer repack_last(). 2024-03-29 00:19:16 +00:00
Garret Rieger
992953fd3e [subset] updated comment. 2024-03-28 23:12:21 +00:00
Garret Rieger
96f0038e39 [subset] cast. 2024-03-28 23:11:16 +00:00
Garret Rieger
6e87481731 [subset] add virtual links to keep the gdef varstore last. 2024-03-28 23:00:54 +00:00
Garret Rieger
7145607149 [subset] place the gdef var store at the end of the GDEF table.
It appears that some font processors assume it is the last sub table.
2024-03-28 23:00:54 +00:00
Garret Rieger
990fb14d78 [subset] Disable fonttools comparison in a few tests where rounding diffs show up.
Context: https://github.com/harfbuzz/harfbuzz/issues/4642
2024-03-28 17:00:12 -06:00
Garret Rieger
11f5dec75f [subset] Move post apply mvar test intance position to avoid rounding diff. 2024-03-28 17:00:12 -06:00
Garret Rieger
975bd39b15 [subset] Match hb rounding to fonttools for avg char width.
Update Muli and Roboto input test fonts to recalc class values. FontTools recalcs class values during instancing while harfbuzz does not (like the ft subsetter).
2024-03-28 17:00:12 -06:00
Garret Rieger
15a05b2432 [subset] Update generate-expected-outputs to drop BASE.
This matches the behaviour of the test runner.
2024-03-28 17:00:12 -06:00
Garret Rieger
ec46c4c2e6 [subset] Update subset test suite to match some changes made to fonttools.
FontTools has added pruning functionality for code pages which we don't yet have in harfbuzz. Update our test runner to disable that for now. Also match fonttools and always recalc usFirst/LastCharIndex even if no prune unicode ranges is set.
2024-03-28 17:00:12 -06:00
Behdad Esfahbod
c3fed775d7
Update README.md 2024-03-28 12:25:03 -06:00
dependabot[bot]
31e2d12d43 Bump github/codeql-action from 3.24.7 to 3.24.9
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.7 to 3.24.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](3ab4101902...1b1aada464)

---
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-03-25 07:46:30 -06:00
Behdad Esfahbod
cc67579c8e [wasm] Update to latest wasm-micro-runtime API 2024-03-22 12:35:29 -06:00
Behdad Esfahbod
3d86b36054 [shape] Fix syntax error under some configs
Fixes https://github.com/harfbuzz/harfbuzz/issues/4635
2024-03-22 10:38:06 -06:00
Khaled Hosny
3c8d448fa1 [meson] Check minimum dependency versions like with autotools 2024-03-21 15:54:53 +02:00