Behdad Esfahbod
dbbb8e8006
Revert "[map] Add hb_map_filter_invalid"
...
This reverts commit 8d7e921117
.
Surprisingly this slowed NotoNastaliqUrdu benchmark down by a couple
percent instead of speeding it up.
2 years ago
Behdad Esfahbod
8d7e921117
[map] Add hb_map_filter_invalid
...
Use it in one place.
2 years ago
David Corbett
260df1fa32
[indic] Support <U+0A02, U+0A40>
2 years ago
Behdad Esfahbod
8b533763c0
Use hb_len() instead of .len()
2 years ago
Behdad Esfahbod
e28e2dad03
[VarData] Don't clear memory we are going to fill in completely
2 years ago
Behdad Esfahbod
0e13b4abbc
[VarData] Optimize main loop slightly
2 years ago
Behdad Esfahbod
ad17c0acce
[VarData] Whitespace
2 years ago
Behdad Esfahbod
e7eb445d29
[VarData] Optimize longWord calculation
2 years ago
Behdad Esfahbod
f2c980be29
[VarData] Optimize wordCount calculation
...
6% speedup in RobotoFlex-Variable/900 benchmark.
2 years ago
Behdad Esfahbod
3641b0e01e
[VarData] Optimize serialize()
2 years ago
Behdad Esfahbod
e155f12307
[VarData] Minor save a variable
2 years ago
Behdad Esfahbod
5596a73087
[layout] Speed up ClassDefFormat2 intersects
2 years ago
Behdad Esfahbod
85e7263b38
[VariationStore] Minor access array directly
2 years ago
Behdad Esfahbod
41a8597f38
[layout] Simplify CoverageFormat2 intersects_coverage()
2 years ago
Behdad Esfahbod
1f4d8ccaed
[CoverageFormat2] Optimize intersects()
2 years ago
Behdad Esfahbod
c482b06108
[gpos] Optimize PairPosFormat1::intersects
2 years ago
Behdad Esfahbod
58e9df132f
[Device] Serialize VariationDevice zerocopy
2 years ago
Behdad Esfahbod
071a2bb4f7
[serialize] Support zerocopy while sharing
2 years ago
Behdad Esfahbod
44a5de3a97
[Device] Save a snap/revert
2 years ago
Behdad Esfahbod
93328cedfc
[Device] Save a map get()
2 years ago
Behdad Esfahbod
630b874ae6
[gsubgpos] Add a cache to intersected_class_glyphs
...
30% gain on subset_codepoints/NotoNastaliqUrdu-Regular.ttf/nohinting/1400.
2 years ago
Behdad Esfahbod
c044f4af3e
[gsubgpos] Remove wrong const
2 years ago
Behdad Esfahbod
2680be1f22
[gsubgpos] Don't set unnecessary funcs
2 years ago
Behdad Esfahbod
023f595dec
[cmap] Speed up DefaultUVS::copy even more
...
Another 14% on SourceHanSerifVF/10 benchmark.
2 years ago
Behdad Esfahbod
4ca6105108
[cmap] Remove double-min
2 years ago
Behdad Esfahbod
cd29147e30
[cmap] Minor cast
2 years ago
Behdad Esfahbod
4cdb5cc69b
[cmap] Minor change iterator
2 years ago
Behdad Esfahbod
2cdaedaf54
Use hb_enumerate in more places
2 years ago
Behdad Esfahbod
02bc4dd69b
Use hb_enumerate instead of hand-coding
2 years ago
Behdad Esfahbod
4d19c724c0
[CoverageFormat1] Speed up intersects()
...
Speeds up SourceHanSerif/10000 benchmark (not in test suite) by
32%!
2 years ago
Behdad Esfahbod
a2d33779e1
Fix arm bot build
2 years ago
Behdad Esfahbod
dabbf13d40
[cmap] Speed up DefaultUVS::copy
2 years ago
Qunxin Liu
8eadb83640
[subset] Update hb_subset_input_override_name_table API
...
Override the name string for the NameRecord identified by name_id,
platform_id, encoding_id and language_ids specified by the user.
If a record with specified name_id does not exist, this API will create
a new NameRecord with provided info and insert it to the name table.
2 years ago
Behdad Esfahbod
29903f46b9
[benchmark-subset] Cache (preprocessed) face amongst runs
2 years ago
Behdad Esfahbod
3fb4ea29cd
Merge pull request #3914 from harfbuzz/multimap
...
[multimap] Add a multimap datastructure & use for gid-to-unicodes subset accelerator
2 years ago
Behdad Esfahbod
ddeac3658b
[test-multimap] More tests
2 years ago
Behdad Esfahbod
ff419789ef
[subset-plan] Sort unicode_to_new_gid_list when needed
2 years ago
Behdad Esfahbod
1a40da4ad1
[subset-plan] Use add_array instead of add_sorted_array
...
That vector is not declared as sorted.
2 years ago
Behdad Esfahbod
32e049a315
[subset-plan] Use gid-to-unicodes multimap
...
One test fails. Need investigation.
2 years ago
Behdad Esfahbod
da7961b2e8
.
2 years ago
Behdad Esfahbod
7d6893a803
[subset-accelerator] Cache gid-to-unicodes
2 years ago
Behdad Esfahbod
10c8fc5553
[multimap] Add a multimap datastructure
2 years ago
Behdad Esfahbod
a42fc8ec4a
[subset-accelerator] Adjust in_error()
2 years ago
Behdad Esfahbod
65d9630312
[subset-cff2] Whitespace
2 years ago
Behdad Esfahbod
b33297ee26
[cff2] Remove unused typedef
2 years ago
Behdad Esfahbod
3ade2ffaa5
[serialize] Adjust pop_discard for zerocopy
2 years ago
Behdad Esfahbod
043eeb29a3
[subset-cff] Optimize encode_subrs
...
Don't loop over all original subrs. Just walk over closure subrs.
2 years ago
Behdad Esfahbod
0ad5977cd6
[subset-cff] Simplify hinting processing
...
We already have drop_hints in the params.
2 years ago
Behdad Esfahbod
16cbe41bca
Merge pull request #3910 from googlefonts/repacker_fuzz
...
[repacker] Add a fuzzer for the hb-subset-repacker api.
2 years ago
Behdad Esfahbod
2a7a1d5a73
[Coverage] Avoid timeout on broken ranges
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=53929
2 years ago