Closed papandreou closed 1 year ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
lib/subfont.js | 1 | 2 | 50.0% | ||
lib/subsetFonts.js | 37 | 39 | 94.87% | ||
<!-- | Total: | 38 | 41 | 92.68% | --> |
Totals | |
---|---|
Change from base Build 4633529333: | -0.1% |
Covered Lines: | 1145 |
Relevant Lines: | 1213 |
Create full instances of variable fonts when every variation axis only has one value. Uses the
hb_subset_input_pin_axis_location
api that landed in Harfbuzz 6 (via https://github.com/papandreou/subset-font/pull/21).It's behind an experimental
--instance
flag for now, as it relies on us tracingfont-variation-settings
correctly and getting a bunch of stuff related to the standard variation axes right.Makes for some nice extra savings:
We can add support for partial instancing when the support lands in Harfbuzz.