Commit graph

17314 commits

Author SHA1 Message Date
Behdad Esfahbod
5158255807 [set-digest] Add operator []. Also auto-initialize 2024-05-11 10:02:35 -06:00
Behdad Esfahbod
3d75d445e4 [set] Clarify add_range() params 2024-05-11 08:58:58 -06:00
Qunxin Liu
7975c9cabd [instancer] bug fix for COLRv1, add missing mapping to VarIdx::NO_VARIATION 2024-05-09 08:34:14 -07:00
Garret Rieger
b74a7ecc93 Fix IUP differences accoss platforms.
- Slightly increase the tolerance to account for differences in floating point math across platforms.
- The specific issue is a fused multiply add (d = d1 + (x - x1) * scale; in hb-subset-instancer-iup.cc)
- Also fix more implicit double conversion warnings.
2024-05-08 10:23:31 -06:00
Qunxin Liu
0e1ffd77f9 [instancer] add a warning for CFF partial instancing
It's not supported yet
2024-05-07 17:07:22 -06:00
Garret Rieger
a3d8a59dc2 Fix double to float cast warning. 2024-05-07 12:37:33 -06:00
Behdad Esfahbod
6ef69f749d [cff2] Minor init 2024-05-07 10:43:48 -07:00
Behdad Esfahbod
ca6425704d Rename result_t to rebase_tent_result_t 2024-05-07 10:19:30 -07:00
Behdad Esfahbod
847ead3588
Merge pull request #4691 from googlefonts/colrv1
[instancer] support partial instancing for COLRv1
2024-05-06 14:58:48 -06:00
dependabot[bot]
a96f7c8784 Bump jinja2 from 3.1.3 to 3.1.4 in /.ci
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [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.3...3.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 14:57:35 -06:00
Qunxin Liu
a5c9c82692 rename expected files from *.retain-all-codepoint.* to *.all.*
This is to fix file name too long error
tar: harfbuzz-8.4.0/test/subset/data/expected/sync_vmetrics/playwrite_mm.subset.default.retain-all-codepoint.SPED=25,YEXT=520,wght=100-400,slnt=18.iup_optimize.ttf: file name is too long (cannot be split); not dumped
tar: Exiting with failure status due to previous errors
2024-05-06 13:22:49 -07:00
Qunxin Liu
3b3c154bd1 add back missing tests that were disabled when wrapped by experimental 2024-05-06 12:56:23 -07:00
Qunxin Liu
6c8985724e fix bots 2024-05-06 10:42:03 -07:00
Qunxin Liu
f614a7d309 [instancer] add/update tests for COLRv1 instancing 2024-05-06 10:41:07 -07:00
Qunxin Liu
247039de5a [instancer] partial instantiating support for COLRv1
Also add subset support for COLRv1 VarStore/DeltaSetIndexMap
2024-05-06 10:41:07 -07:00
Qunxin Liu
625a9a963a [instancer] use correct constant for No VARIATIONS index 2024-05-03 17:22:16 -05:00
Qunxin Liu
ebcdadbf54 [instancer] add tests for instantiating BASE table 2024-05-03 17:22:16 -05:00
Qunxin Liu
c5a85a73fa [instancer] support BASE table 2024-05-03 17:22:16 -05:00
Behdad Esfahbod
4d2380f56d
Merge pull request #4693 from harfbuzz/promote-vf-api
[instancer] Promote partial instancing API out of experimental.
2024-05-03 14:05:56 -05:00
Garret Rieger
f145ab2f1e Disable empty_region_vardata test when running on 32bit machines. 2024-05-03 18:31:18 +00:00
Garret Rieger
e81c8c1312 Change tolerance from float to double. 2024-05-03 18:06:14 +00:00
Garret Rieger
36e82fd5b3 Use sizeof(repeat_x_deltas[0]) instead of sizeof(int). 2024-05-03 17:33:37 +00:00
Khaled Hosny
f03bf49978 [ci] Try to fix finding ICU on macOS runner 2024-05-03 13:46:31 +03:00
Khaled Hosny
91f54d4bae [ci] Try to fix pip install on macOS runner
Use setup-python action which which I think uses venv so pip install
will not fail as now installing system-wide packages with pip is
disallowed.
2024-05-03 13:46:31 +03:00
Garret Rieger
0617266273 Test using double's in IUP optimizatio code.
Trying to resolve delta differences on MINGW 32bit.
2024-05-02 22:05:03 +00:00
Behdad Esfahbod
ba1f194a1d [gsubgpos] Reduce stack use in recursion 2024-05-02 16:37:51 -05:00
Garret Rieger
4cf606f674 [instancer] Promote partial instancing api out of experimental. 2024-05-02 21:22:18 +00: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