mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 06:51:01 +01:00
[instancer] fix a bug in compiling deltas_y for gvar
This commit is contained in:
1 parent
13f05ab9b3
commit
bccdcf5b18
1 file changed
+2
@@ -719,6 +719,8 @@ struct tuple_delta_t
|
||||
}
|
||||
|
||||
if (j != rounded_deltas.length) return false;
|
||||
/* reset i because we reuse rounded_deltas for deltas_y */
|
||||
i = 0;
|
||||
encoded_len += encode_delta_run (i, compiled_deltas.as_array ().sub_array (encoded_len), rounded_deltas);
|
||||
}
|
||||
return compiled_deltas.resize (encoded_len);
|
||||
|
||||
Reference in new issue
Block a user