[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 committed 2021-09-27 14:18:36 -06:00
1 parent efda2f14e1
commit a52c6df38a
1 file changed
+1 -1
+1 -1
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);
}