[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:
parent
efda2f14e1
commit
a52c6df38a
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue