mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 01:00:37 +00:00
[cmap] Speed up Format12/13 collect_mapping
This commit is contained in:
parent
ae6ea6f4b7
commit
d9357a1a67
1 changed files with 1 additions and 1 deletions
|
@ -769,9 +769,9 @@ struct CmapSubtableLongSegmented
|
|||
|
||||
mapping->alloc (mapping->get_population () + end - start + 1);
|
||||
|
||||
unicodes->add_range (start, end);
|
||||
for (unsigned cp = start; cp <= end; cp++)
|
||||
{
|
||||
unicodes->add (cp);
|
||||
mapping->set (cp, gid);
|
||||
gid += T::increment;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue