[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:
Garret Rieger 2021-09-27 11:22:05 -07:00
parent efda2f14e1
commit a52c6df38a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}