Commit Graph
20650 Commits
Author SHA1 Message Date
Behdad Esfahbod 1da053e87f [aat] Remove unused template parameter 2024-05-13 16:44:50 -06:00
Behdad Esfahbod e2f1e38768 Merge pull request #4719 from harfbuzz/aat-buffer-digest
[aat] For short words, use buffer digest to skip morx / kerx subtables
2024-05-13 15:19:58 -07:00
Behdad Esfahbod 204778e831 [aat] Use buffer-digest for non-state-machine kerning as well 2024-05-13 15:59:54 -06:00
Behdad Esfahbod fbcfc1984d [aat] Change buffer-digest threshold to 32 2024-05-13 15:49:00 -06:00
Behdad Esfahbod f536a416fd [aat] For short words, use buffer digest to skip kerx machine subtables
Shows 3 / 4% speedup in fa-words test case with GeezaPro.
2024-05-13 15:43:50 -06:00
Behdad Esfahbod 3ff9ebc868 [aat] For short words, use buffer digest to skip morx subtables
Shows 3 / 4% speedup in en-words test case with Helvetica Neue.
2024-05-13 15:13:52 -06:00
dependabot[bot] 687c218fcb Bump codecov/codecov-action from 4.3.0 to 4.3.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/84508663e988701840491b86de86b666e8a86bed...5ecb98a3c6b747ed38dc09f787459979aebb39be)

---
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-05-13 23:58:23 +03:00
Behdad Esfahbod c9d6bbcf46 [aat] Minor don't copy variable 2024-05-13 14:54:11 -06:00
Khaled Hosny 30485ee8c3 Typo 8.5.0 2024-05-13 23:46:17 +03:00
Behdad Esfahbod 9ea29789d7 [aat] Minor 2024-05-13 14:45:41 -06:00
Khaled Hosny 71b1ba7aa6 8.5.0 2024-05-13 23:42:50 +03:00
Garret Rieger 0660a4d408 [subset] fix fuzzer found heap use after free in BASE subsetting. 2024-05-13 13:39:20 -07:00
Garret Rieger 3f38ffd633 [subset] Fix remaining double conversion warnings. 2024-05-13 13:18:27 -07:00
Steve Lhomme 6253b3a905 [meson] build ragel as a native tool
When cross compiling it will build a target (host) binary that can't be run on the building machine.

Also remove the install flag which is not compatible with the native flag, but the custom built ragel is correctly picked.
2024-05-13 20:42:13 +03:00
Behdad Esfahbod 31c45e841f Merge pull request #4711 from harfbuzz/aat-set-digest
[aat] Use set digest to speed up
2024-05-13 10:20:12 -07:00
Behdad Esfahbod 3609ebb0d1 [htmx] Return non-variable advance if no glyf table available
Fixes https://github.com/harfbuzz/harfbuzz/issues/4706
2024-05-13 11:06:57 -06:00
Behdad Esfahbod 3d3c6db4b2 [kern] Allow format 1 / 3 in OT-style kern table
Otherwise we were failing to sanitize them, and Bad Things
were happening after.
2024-05-13 11:00:21 -06:00
dependabot[bot] fb60742594 Bump github/codeql-action from 3.25.3 to 3.25.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.3 to 3.25.4.
- [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/d39d31e687223d841ef683f52467bd88e9b21c14...ccf74c947955fd1cf117aef6a0e4e66191ef6f61)

---
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-05-13 07:33:41 -07:00
dependabot[bot] 364ae509b5 Bump ossf/scorecard-action from 2.3.1 to 2.3.3
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.3.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/0864cf19026789058feabb7e87baa5f140aac736...dc50aa9510b46c811795eb24b2f1ba02a914e534)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-13 07:33:35 -07:00
dependabot[bot] 44d8489fdd Bump actions/checkout from 4.1.4 to 4.1.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [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/0ad4b8fadaa221de15dcec353f45205ec38ea70b...44c2b7a8a4ea60a981eaca3cf939b5f4305c123b)

---
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-05-13 07:33:27 -07:00
Behdad Esfahbod e2ab6c7bc8 [kern/kerx] Add accelerator and set-digest filtering 2024-05-13 00:22:04 -06:00
Behdad Esfahbod 5f32c60d05 [kerx] Remove set-digests since accelerator is not shared 2024-05-12 15:16:25 -06:00
Behdad Esfahbod ebbec7713b [kern] Use the sanitized version from face
I'm not sure why kern/kerx/morx were written this way
before.
2024-05-12 15:11:00 -06:00
Behdad Esfahbod 23e4a3cf26 [aat/morx] Add an accelerator 2024-05-12 15:11:00 -06:00
Behdad Esfahbod 0828ccc5dc [aat] Move buffer out of StateTableDriver 2024-05-12 10:06:06 -06:00
David Corbett bba0c0e27c Add test-cff.cc 2024-05-12 09:04:02 -07:00
David Corbett 0db136b1b0 [subset-cff] Shorten output of encode_num_tp 2024-05-12 09:04:02 -07:00
Behdad Esfahbod 5a405b310e [aat] First sketch at using hb_set_digest_t
They are not cached in an accelerator yet.
2024-05-11 10:28:02 -06:00
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