Commit Graph
20650 Commits
Author SHA1 Message Date
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](https://github.com/actions/upload-artifact/compare/1746f4ab65b179e0ea60a494b83293b640dd5bba...65462800fd760344b1a7b4382951275a0abb4808)

---
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](https://github.com/hendrikmuhs/ccache-action/compare/faf867a11c028c0b483fb2ae72b6fc8f7d842714...c92f40bee50034e84c763e33b317c77adaa81c92)

---
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](https://github.com/github/codeql-action/compare/c7f9125735019aa87cfc361530512d50ea439c71...d39d31e687223d841ef683f52467bd88e9b21c14)

---
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](https://github.com/actions/checkout/compare/1d96c772d19495a3b5c517cd2bc0cb401ea0529f...0ad4b8fadaa221de15dcec353f45205ec38ea70b)

---
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
Behdad Esfahbod 136097901b [VarStoreInstancer] Add cache argument
Not used by any clients currently (which are COLR and VARC).
2024-04-23 14:40:21 -06:00
Behdad Esfahbod c270a254df [COLR] Remove redundant variable 2024-04-23 14:40:06 -06:00
Behdad Esfahbod b32e0a70cf Comment 2024-04-23 14:28:38 -06:00
Behdad Esfahbod fff48b4572 Remove unnecessary comment
Resolves https://github.com/harfbuzz/harfbuzz/issues/4677
2024-04-23 14:20:31 -06:00
Behdad Esfahbod cd1d8b8bf3 [varc] Use multiVarStore instead of GDEF varStore
That's what we agreed upon.
2024-04-23 14:18:06 -06: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
Behdad Esfahbod ac411f26b5 [Condition] Finish evaluation of ConditionValue
https://github.com/adobe-type-tools/opentype-spec-drafts/blob/main/condvalue_spec.md
2024-04-23 13:26:53 -06:00
Behdad Esfahbod 66cd7c04ee [Condition] Shuffle code around 2024-04-23 13:09:22 -06:00
Behdad Esfahbod d2ca8a5930 [Condition] Implement ConditionValue
Doesn't fully work yet. Need to shuffle some code around first.

Shift other Condition format numbers.

Implements
https://github.com/adobe-type-tools/opentype-spec-drafts/blob/main/condvalue_spec.md
2024-04-23 13:06:29 -06:00
Behdad Esfahbod 6129c72619 [varc] Use Condition instead of ConditionSet
With more Condition formats.

https://github.com/harfbuzz/boring-expansion-spec/commit/df7dcc4618b9dc003740d25c53afe30a8fc03fe2
https://github.com/harfbuzz/boring-expansion-spec/issues/147
2024-04-22 14:52:58 -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](https://github.com/actions/upload-artifact/compare/5d5d22a31266ced268874388b861e4b58bb5c2f3...1746f4ab65b179e0ea60a494b83293b640dd5bba)

---
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](https://github.com/github/codeql-action/compare/4355270be187e1b672a7a1c7c7bae5afdc1ab94a...c7f9125735019aa87cfc361530512d50ea439c71)

---
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](https://github.com/actions/checkout/compare/9bb56186c3b09b4f86b1c65136769dd318469633...1d96c772d19495a3b5c517cd2bc0cb401ea0529f)

---
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 3fda07b48c Replace an abort with assert(false) 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 2e53363485 [TupleValues] Add a likely
I can actually measure a couple percents speedup.
2024-04-16 17:10:46 -06:00
Behdad Esfahbod e8139bea2e Revert "[varc] Reuse x_deltas and y_deltas vectors"
This reverts commit 604f27b3069f2ef11b045cfb35e8c3a5fd99fb8b.

Not worth it.
2024-04-16 17:10:46 -06:00
Behdad Esfahbod f97d1ea235 [varc] Reuse x_deltas and y_deltas vectors
Going to revert since it has minimal improvement with
lots of piping through.
2024-04-16 17:10:46 -06:00
Behdad Esfahbod fa6f123eef [var] Add a fast path for coord == 0 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 7b1b20fa00 [varc] Move code around 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 6af0c5199c [varc] Remove unused method 2024-04-16 17:10:46 -06:00
Behdad Esfahbod db06c673f3 [VARC] Tweak cache use 2024-04-16 17:10:46 -06:00
Behdad Esfahbod a7fd55569e [varc] Use a varStore cache 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 9489c85651 [varc] Simplify iterator 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 2d01e1a97e [varc] Shed another vector 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 5ed773506b [varc] Some error handling 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 8961b1c51e [varc] Add __forward__ to the iterator 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 731f78151f [varc] Improve iterator 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 84a755bfd8 [TupleValues] Minor add an enum 2024-04-16 17:10:46 -06:00
Behdad Esfahbod eaa1fb1415 [varc] Use an iterator to unpack TupleValues 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 3b86ec0afb [varc] Optimize use of coord_setter 2024-04-16 17:10:46 -06:00
Behdad Esfahbod df330e7abd [varc] Optimize 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 49c5ed38e4 [varc] Remove one vector allocation 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 761468c66f [varc] Reuse a variable 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 70990ac7c9 [varc] Micro-optimize "* scalar" 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 9c7d871b0e [varc] Fix return type 2024-04-16 17:10:46 -06:00
Behdad Esfahbod c13fc5579b [varc] Micro-optimize 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 88eab447db [varc] Remove unnecessary check
As usual, our operator[] takes care of it.
2024-04-16 17:10:46 -06:00
Behdad Esfahbod e451b6cbff [varc] Minor style 2024-04-16 17:10:46 -06:00