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
Behdad Esfahbod
c947652768
[subset-cff] Micro-optimize
2 years ago
Behdad Esfahbod
a24d4e9261
[array] Oops. Fix memcpy copy()!
2 years ago
Behdad Esfahbod
5e41766bb9
[array] Fix hb_bytes_t memcpy copy
...
Wasn't being used!
2 years ago
Behdad Esfahbod
a5616227ca
[subset-cff] Fix buffer size calculation
2 years ago
Behdad Esfahbod
015af5a8e5
[subset-cff] Write a couple loops as range-based for
2 years ago
Behdad Esfahbod
bfbbd4af25
[subset-cff] Copy str for call ops
2 years ago
Behdad Esfahbod
c755b3884f
[subset-cff] Pre-alloc enough for check-less copy
2 years ago
Behdad Esfahbod
062e59ae67
[subset-cff] Optimize vector allocation for preprocessed input
2 years ago
Behdad Esfahbod
8e9e94dba9
Revert "[vector] Optimize grow_vector() for size"
...
This reverts commit 1dd9396c7a
.
Is faster indeed.
15% on SourceHanSans/10000 benchmark.
2 years ago
Behdad Esfahbod
2644540a74
[subset-cff] Compact parsed strings if using accelerator
...
Saves 32% on SourceHanSans/10000 benchmark!
Also, use memcmp now for writing out strings since now that our
ops are not super short, that's faster.
This makes cff-japanese test takes super long though; that needs
inspection.
2 years ago
Behdad Esfahbod
6012d3b228
[subset-cff] Write out charstrings zerocopy to serializer
2 years ago
Garret Rieger
16f61a1c87
[repacker] only build repacker fuzzer when experimental api is enabled.
2 years ago
Behdad Esfahbod
36e1a6339c
[cff] Add total_size to INDEX
2 years ago
Behdad Esfahbod
3843000660
[serialize] Add start_zerocopy()
2 years ago
Garret Rieger
de5a621322
[repacker] enforce root node having no incoming edges.
2 years ago