mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[subset/cff2] Speedup retaingids serialize
10% speedup in subset_glyphs/SourceHanSans-VF.otf/retaingids/10
This commit is contained in:
parent
b583978bdf
commit
e60ec9dcd3
1 changed files with 2 additions and 2 deletions
|
@ -94,10 +94,10 @@ struct CFFIndex
|
|||
for (const auto &_ : +it)
|
||||
{
|
||||
unsigned len = _.length;
|
||||
if (!len)
|
||||
continue;
|
||||
if (len <= 1)
|
||||
{
|
||||
if (!len)
|
||||
continue;
|
||||
*ret++ = *_.arrayZ;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue