mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-03 20:45:04 +00:00
[gvar] Comment
Some checks failed
arm / arm-none-eabi (push) Waiting to run
configs-ci / build (push) Waiting to run
fontations / build (push) Waiting to run
linux-ci / build (push) Waiting to run
macos-ci / build (push) Waiting to run
msvc / msvc-2019-amd64 (push) Waiting to run
msvc / msvc-2019-x86 (push) Waiting to run
msys2 / CLANG64 (push) Waiting to run
msys2 / MINGW32 (push) Waiting to run
msys2 / MINGW64 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
Some checks failed
arm / arm-none-eabi (push) Waiting to run
configs-ci / build (push) Waiting to run
fontations / build (push) Waiting to run
linux-ci / build (push) Waiting to run
macos-ci / build (push) Waiting to run
msvc / msvc-2019-amd64 (push) Waiting to run
msvc / msvc-2019-x86 (push) Waiting to run
msys2 / CLANG64 (push) Waiting to run
msys2 / MINGW32 (push) Waiting to run
msys2 / MINGW64 (push) Waiting to run
Scorecard supply-chain security / Scorecard analysis (push) Failing after 1s
This commit is contained in:
parent
ef8c25ad9f
commit
d3e4977c70
1 changed files with 3 additions and 3 deletions
|
@ -590,9 +590,9 @@ struct gvar_GVAR
|
|||
/* If sanitize failed, set glyphCount to 0. */
|
||||
glyphCount = table->version.to_int () ? face->get_num_glyphs () : 0;
|
||||
|
||||
/* For shared tuples that only have one axis active, shared the index of
|
||||
* that axis as a cache. This will speed up caclulate_scalar() a lot
|
||||
* for fonts with lots of axes and many "monovar" tuples. */
|
||||
/* For shared tuples that only have one or two axes active, shared the index
|
||||
* of that axis as a cache. This will speed up caclulate_scalar() a lot
|
||||
* for fonts with lots of axes and many "monovar" or "duovar" tuples. */
|
||||
hb_array_t<const F2DOT14> shared_tuples = (table+table->sharedTuples).as_array (table->sharedTupleCount * table->axisCount);
|
||||
unsigned count = table->sharedTupleCount;
|
||||
if (unlikely (!shared_tuple_active_idx.resize (count, false))) return;
|
||||
|
|
Loading…
Add table
Reference in a new issue