mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 16:50:38 +00:00
[subset/cff] Micro-optimize hb_plan_subset_cff_fdselect
This commit is contained in:
parent
ecb46f7013
commit
33507a9c27
1 changed files with 2 additions and 2 deletions
|
@ -70,14 +70,14 @@ hb_plan_subset_cff_fdselect (const hb_subset_plan_t *plan,
|
|||
hb_codepoint_t prev_fd = CFF_UNDEF_CODE;
|
||||
hb_pair_t<unsigned, hb_codepoint_t> last_range {0, 0};
|
||||
auto it = hb_iter (plan->new_to_old_gid_list);
|
||||
auto _ = *it;
|
||||
for (hb_codepoint_t gid = 0; gid < subset_num_glyphs; gid++)
|
||||
{
|
||||
hb_codepoint_t old_glyph;
|
||||
auto &_ = *it;
|
||||
if (gid == _.first)
|
||||
{
|
||||
old_glyph = _.second;
|
||||
it++;
|
||||
_ = *++it;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue