mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 14:31:10 +01:00
[OTLayout] Only collect output glyphs during recursion in collect_glyphs()
This commit is contained in:
1 parent
f1b12781d2
commit
1ea375da44
1 file changed
+3
-1
@@ -158,7 +158,9 @@ struct hb_collect_glyphs_context_t
|
||||
return default_return_value ();
|
||||
|
||||
nesting_level_left--;
|
||||
recurse_func (this, lookup_index);
|
||||
/* Only collect output glyphs in the recursion. */
|
||||
hb_collect_glyphs_context_t new_c (this->face, NULL, NULL, NULL, &output, nesting_level_left);
|
||||
recurse_func (&new_c, lookup_index);
|
||||
nesting_level_left++;
|
||||
return default_return_value ();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user