mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 16:31:14 +01:00
[subset] Fix bug in composite operation counting.
Adding the result of add_gid_and_children to operation count over counts the number of operations.
This commit is contained in:
1 parent
efda2f14e1
commit
a52c6df38a
1 file changed
+1
-1
@@ -1118,7 +1118,7 @@ struct glyf
|
||||
while (it)
|
||||
{
|
||||
auto item = *(it++);
|
||||
operation_count +=
|
||||
operation_count =
|
||||
add_gid_and_children (item.get_glyph_index (), gids_to_retain, depth, operation_count);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user