mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[subset/cff] Micro-optimize
This commit is contained in:
parent
a24025c90d
commit
126d144196
1 changed files with 3 additions and 2 deletions
|
@ -73,9 +73,10 @@ hb_plan_subset_cff_fdselect (const hb_subset_plan_t *plan,
|
|||
for (hb_codepoint_t gid = 0; gid < subset_num_glyphs; gid++)
|
||||
{
|
||||
hb_codepoint_t old_glyph;
|
||||
if (gid == it->first)
|
||||
auto &_ = *it;
|
||||
if (gid == _.first)
|
||||
{
|
||||
old_glyph = it->second;
|
||||
old_glyph = _.second;
|
||||
it++;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue