dependabot[bot]
9ffea6328e
Bump github/codeql-action from 2.20.4 to 2.21.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.20.4 to 2.21.0.
- [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/489225d82a57396c6f426a40e66d461b16b3461d...1813ca74c3faaa3a2da2070b9b8a0b3e7373a0d8 )
---
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 >
2023-07-24 08:34:26 -06:00
dependabot[bot]
1a267f22ff
Bump fonttools from 4.41.0 to 4.41.1 in /.ci
...
Bumps [fonttools](https://github.com/fonttools/fonttools ) from 4.41.0 to 4.41.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.41.0...4.41.1 )
---
updated-dependencies:
- dependency-name: fonttools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-24 08:34:13 -06:00
Nikolaus Waxweiler
ca7e7e925b
Fix wasm-micro-runtime build instructions
2023-07-23 15:25:48 -06:00
Nikolaus Waxweiler
a32278acd8
Fix example code
2023-07-23 15:25:48 -06:00
Behdad Esfahbod
55f41e287f
[perf] Add duployan.txt
...
From https://kaltashwawa.ca/2022/01/20/lovecraft-in-chinook-puspus-kopa-ulthar-tawn/
2023-07-21 12:10:46 -06:00
Behdad Esfahbod
c91899be14
[gdef] Use set-digest for mark-filterint-sets
...
Speeds up Noto Duployan-Regular.otf by 45% percent!
2023-07-21 11:43:47 -06:00
Behdad Esfahbod
e8948a4e86
[gsubgpos] Fix optimization
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4336
2023-07-20 22:12:53 -06:00
Behdad Esfahbod
36c7ec443b
[sanitize] Simplify a return
2023-07-20 18:56:46 -06:00
Qunxin Liu
13f05ab9b3
[instancer] support avar table partial instancing
2023-07-20 12:37:42 -07:00
Behdad Esfahbod
837885f0fa
Revert "[sanitize/Coverage] Keep a map of sane coverages"
...
This reverts commit a689114898cc3e8f1c6ba7cc49cd6c3639d91250.
2023-07-20 12:59:57 -06:00
Behdad Esfahbod
0ab906715e
[sanitize/Coverage] Keep a map of sane coverages
...
Fonts like Gulzar reuse the same coverage over a thousand times
sometimes.
However, this doesn't speed up sanitize unfortunately. Looks
like calling Coverage::sanitize() is already very fast. We're
just doing A LOT of it.
The map slowed it down in fact. A set was even slower.
Going to revert.
2023-07-20 12:59:46 -06:00
Behdad Esfahbod
7de2f515a0
[set] Remove dependency on hb-machinery.hh
2023-07-20 12:46:54 -06:00
Behdad Esfahbod
e8de5cb08f
[gsubgpos] Use a couple variables
2023-07-20 11:31:13 -06:00
Behdad Esfahbod
0ccd61a3b2
[gsubgpos] Micro-optimize
2023-07-19 16:42:30 -06:00
Behdad Esfahbod
b01c165034
[gsubgpos] Minor error handling
2023-07-19 16:35:10 -06:00
Behdad Esfahbod
ee5f200bf1
[gsubgpos] Remove un unnecessary variable
2023-07-19 12:27:39 -06:00
Qunxin Liu
a0bb2d3a9b
[instancer] support STAT table for all instancing operations
2023-07-19 11:21:01 -07:00
Behdad Esfahbod
42c6a3a18a
[gsubgpos] Remove unnecessary condition
...
Second is always set in this branch.
2023-07-19 12:07:19 -06:00
Behdad Esfahbod
b5de54e1d4
[gsubgpos] Also match second component in (Chain)RuleSet::apply()
...
Another 40% speedup in shaping Gulzar-Regular.
2023-07-19 11:58:11 -06:00
Qunxin Liu
73d94dbde3
[instancer] bug fixes in fvar: add missing instanceCount, update axis limit
2023-07-19 10:33:57 -07:00
Richard Dodd (dodj)
02b00d7743
Update wasm-shaper.md (just a small typo)
2023-07-19 08:54:54 -06:00
Qunxin Liu
730f579f68
[instancer] store float value rather than F2DOT14 int value in axes_location map
2023-07-18 17:31:23 -06:00
Qunxin Liu
efbd257a32
[instancer] memory leak fix in cvar
2023-07-18 17:31:23 -06:00
Behdad Esfahbod
a9e9279bee
Merge pull request #4329 from googlefonts/instancer_solver_fix
...
port instancer solver normalizeValue fixes from fonttools
2023-07-18 12:24:17 -06:00
Behdad Esfahbod
aa381ae963
[ReverseChain] Remove SIZE_MAX
...
Oops. Can't set it since the struct has offsets.
2023-07-18 10:42:13 -06:00
Behdad Esfahbod
e583c9e904
[ReverseChain] Add max-size
2023-07-18 10:34:26 -06:00
Behdad Esfahbod
7a2f9dcfb9
[matcher] Move initializers inline
2023-07-18 04:36:15 -06:00
Qunxin Liu
5ee015ecf6
[instancer-solver] remove unused normalizeValue() code
2023-07-17 13:54:34 -07:00
Qunxin Liu
6c25c752f6
[instancer] use renormalized values when instantiating Condition table
2023-07-17 13:47:38 -07:00
Qunxin Liu
73ce3015bb
[instancer-solver] port optimization and more tests from fonttools
2023-07-17 13:46:57 -07:00
Qunxin Liu
350423df8d
[instancer-solver] fix tests
2023-07-17 11:56:59 -07:00
Qunxin Liu
12be4cb184
[instancer-solver] fix APIs calling rebase_tent() with TripleDistances
2023-07-17 11:56:53 -07:00
Qunxin Liu
165f3e60ac
[instancer-solver] add renormalizeValue() and store axis->distances map
2023-07-17 11:56:16 -07:00
Behdad Esfahbod
d92a7a58d8
[gsubgpos] Inline a couple functions
...
Produces smaller code.
2023-07-17 11:27:38 -06:00
Behdad Esfahbod
4ea3737d04
[gsubgpos] Add fast-path for end-of-string in (Chain)RuleSet::apply()
2023-07-17 09:50:28 -06:00
Behdad Esfahbod
e7ce633946
[algs] Fix -Wcomma errors
...
Fixes https://github.com/harfbuzz/harfbuzz/issues/4328
2023-07-17 08:52:12 -06:00
dependabot[bot]
af095d90e3
Bump github/codeql-action from 2.20.3 to 2.20.4
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.20.3 to 2.20.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/46ed16ded91731b2df79a2893d3aea8e9f03b5c4...489225d82a57396c6f426a40e66d461b16b3461d )
---
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 >
2023-07-17 08:50:12 -06:00
dependabot[bot]
b031bbde94
Bump actions/setup-python from 4.6.1 to 4.7.0
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/bd6b4b6205c4dbad673328db7b31b7fab9e241c0...61a6322f88396a6271a6ee3565807d608ecaddd1 )
---
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 >
2023-07-17 08:49:59 -06:00
dependabot[bot]
ae8fea081a
Bump fonttools from 4.40.0 to 4.41.0 in /.ci
...
Bumps [fonttools](https://github.com/fonttools/fonttools ) from 4.40.0 to 4.41.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.40.0...4.41.0 )
---
updated-dependencies:
- dependency-name: fonttools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-17 08:49:47 -06:00
dependabot[bot]
da84a078ee
Bump meson from 1.1.1 to 1.2.0 in /.ci
...
Bumps [meson](https://github.com/mesonbuild/meson ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/mesonbuild/meson/releases )
- [Commits](https://github.com/mesonbuild/meson/compare/1.1.1...1.2.0 )
---
updated-dependencies:
- dependency-name: meson
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-17 08:49:32 -06:00
Behdad Esfahbod
4973053109
Config
2023-07-16 13:09:49 -06:00
Behdad Esfahbod
645fabd101
[gsubgpos] Vastly speed up ChainRuleSet / RuleSet matching
...
Match the first component in a fast loop.
Idea replicated from LigatureSet.
Speeds up Gulzar shaping by 22%!
37% in NotoNastaliqUrdu!
2023-07-16 11:39:46 -06:00
Behdad Esfahbod
77080f86f8
.
2023-07-16 11:26:32 -06:00
Behdad Esfahbod
5c8f3b7fec
[gsubgpos] Conditionally cache backtrack again
2023-07-16 09:39:18 -06:00
Behdad Esfahbod
52237eb1fe
[ChainContext] More caching
2023-07-16 09:07:25 -06:00
Behdad Esfahbod
62e10c9fa0
Revert "[gsubgpos] Allocate iterators further up"
...
This reverts commit b9f364b8fc .
2023-07-16 08:43:18 -06:00
Behdad Esfahbod
b9f364b8fc
[gsubgpos] Allocate iterators further up
...
To avoid calling set_match_func repeatedly.
Doesn't show speedup. Going to revert.
2023-07-16 08:43:15 -06:00
Behdad Esfahbod
c2f454c7e2
[gsubgpos] Fix residual from 5af80f349c
2023-07-16 08:23:59 -06:00
Behdad Esfahbod
4e641103d4
[buffer] Inline a method
2023-07-16 07:40:20 -06:00
Behdad Esfahbod
5af80f349c
[ChainContext] Cache two class values
...
7% speedup shaping Gulzar.
2023-07-16 07:27:28 -06:00