Behdad Esfahbod
|
40a1c08f4c
|
[subset/cff1] Micro-optimize
|
2 years ago |
Behdad Esfahbod
|
bd3e78770e
|
[subset/cff1] Reuse a function
|
2 years ago |
Behdad Esfahbod
|
ffd23d3a31
|
[subset/cff1] Micro-optimize Charset serialization
|
2 years ago |
Behdad Esfahbod
|
452557cd18
|
Replace a free with hb_free
Ouch.
|
2 years ago |
Behdad Esfahbod
|
1fc128f609
|
Replace a few memset/memcpy's with hb_ equivalents
|
2 years ago |
Behdad Esfahbod
|
2c359635df
|
[face-builder] Don't zero allocation
We overwrite it.
|
2 years ago |
Behdad Esfahbod
|
347b944811
|
[null] Fix getting Crap(hb_bytes_t)
Fixes https://oss-fuzz.com/testcase-detail/6187272924692480
|
2 years ago |
Behdad Esfahbod
|
49c52fa953
|
[cmap] Don't zero a few allocations unnecessarily
|
2 years ago |
Behdad Esfahbod
|
e4b2d9c3f3
|
[pool] Don't clear unused memory
|
2 years ago |
Behdad Esfahbod
|
6129702eb8
|
[subset/cff] Simplify some allocation embedding
|
2 years ago |
Behdad Esfahbod
|
99db06b4d2
|
[var] Simplify a couple of copy operations
|
2 years ago |
Behdad Esfahbod
|
73bcd3f241
|
[var] Adjust a few allocations to not clean space
Since we immediately copy.
|
2 years ago |
Behdad Esfahbod
|
b1e7e8ba2f
|
[algs] Fix return of hb_memset()
|
2 years ago |
Behdad Esfahbod
|
c2bab07391
|
[subset/cff] Minor optimization
|
2 years ago |
Behdad Esfahbod
|
570fb4df58
|
[subset/cff] Add a vector pre-alloc
|
2 years ago |
Behdad Esfahbod
|
e447d394a6
|
[subset/cff1] Micro-optimize
|
2 years ago |
Behdad Esfahbod
|
50499e9e40
|
[subset/cff1] Minor use rvalues in a few vector push() places
|
2 years ago |
Behdad Esfahbod
|
e5b3d4b105
|
[subset/cff1] Minor use ?:
|
2 years ago |
Behdad Esfahbod
|
81e2db7cbc
|
[subset/cff1] Speed up plan_subset_charset
|
2 years ago |
Behdad Esfahbod
|
d3f90a8ca7
|
[subset/cff] Use a typedef for glyph_to_sid_map_t
|
2 years ago |
Behdad Esfahbod
|
6783701b4e
|
[subset] Handle an error condition
Fixes https://oss-fuzz.com/testcase-detail/6306810588692480
|
2 years ago |
Behdad Esfahbod
|
7d3d157de8
|
[subset/cff] Speed up hb_plan_subset_cff_fdselect
|
2 years ago |
Behdad Esfahbod
|
f79d961a31
|
[vector] Speedup push()
|
2 years ago |
Behdad Esfahbod
|
b4b80bcaea
|
[subset/cff1] Speed up plan_subset_charset
|
2 years ago |
Behdad Esfahbod
|
7305ec47b1
|
Merge pull request #4300 from pnacht/scorecard-action
Add Scorecard action
|
2 years ago |
arch1t3cht
|
4a628b236f
|
[meson] Remove incorrect option for ICU subproject
Fixes #4298 .
|
2 years ago |
Pedro Nacht
|
3bdb8639e4
|
Add Scorecard badge to README
|
2 years ago |
Pedro Nacht
|
27ef6c081e
|
Create scorecard.yml
|
2 years ago |
Behdad Esfahbod
|
6c4f975dcb
|
Add a fuzzer font
|
2 years ago |
Behdad Esfahbod
|
87f1b80d27
|
[bimap] Write with a map & vector combo
Faster for getting keys.
Speeds up 10% in:
BM_subset/subset_glyphs/RobotoFlex-Variable.ttf/retaingids/10
|
2 years ago |
Behdad Esfahbod
|
e7ad017ca6
|
[subset/cff] Allocate more memory for retain-gids
To avoid serializing twice.
20% speedup in:
BM_subset/subset_glyphs/SourceSansPro-Regular.otf/retaingids/10
|
2 years ago |
Behdad Esfahbod
|
30f1ab86ea
|
[subset/cff1] Fix typo
|
2 years ago |
Behdad Esfahbod
|
7c7db0fcba
|
[subset/cff1] Minor shuffle code around
|
2 years ago |
Behdad Esfahbod
|
1e09ebebc1
|
[subset/cff1] Minor use vector length instead of map population
|
2 years ago |
Behdad Esfahbod
|
23109dde5e
|
[subset/cff1] Minor use an exact allocation
|
2 years ago |
Behdad Esfahbod
|
393f0f9f16
|
[map] Rename resize() to alloc()
Better matches the functionality, and hb_vector_t.
|
2 years ago |
Behdad Esfahbod
|
793f663bad
|
[vector] Speed up hb_vector_t<hb_array_t<U>>
|
2 years ago |
Behdad Esfahbod
|
289bad82f0
|
[subset/cff1] Minor use a dagger
|
2 years ago |
Behdad Esfahbod
|
31d971d1aa
|
[vector] Sprinkle std::addressof
|
2 years ago |
Behdad Esfahbod
|
c03c0a9d76
|
[subset/cff1] Remove unnecessary remap_sid_t::reset
The object is initialized automatically.
|
2 years ago |
Behdad Esfahbod
|
6ed0d04b69
|
[subset/cff1] In remap_sid_t::reset(), reset everything
Previous code wasn't resetting next=0; tests were passing.
It's always called when sidmap is empty. So, redundant,
but keeping as is.
|
2 years ago |
Behdad Esfahbod
|
7e97233c35
|
[subset/cff1] Comment
|
2 years ago |
Behdad Esfahbod
|
86a550dc7e
|
[subset/cff1] Speed up string writing
|
2 years ago |
Behdad Esfahbod
|
dc1b172408
|
[subset/cff1] Minor reuse a returned value
|
2 years ago |
Behdad Esfahbod
|
95341bcc15
|
[subset/cff1] Minor use {} initialization syntax
|
2 years ago |
Behdad Esfahbod
|
be0cec288b
|
[map] Micro-optimize iteration
Make is_real() faster (removes a shift). is_used() gets inlined
so is not slowed down by this change.
|
2 years ago |
Behdad Esfahbod
|
9dbea6071a
|
[subset/cff1] Fix resource leak in error case
|
2 years ago |
David Corbett
|
e310473cec
|
[use] Allow multiple CMAbv glyphs on subjoined
|
2 years ago |
Behdad Esfahbod
|
d4bbe3f486
|
[subset/cff] Reuse a calculate index total data size
|
2 years ago |
Behdad Esfahbod
|
ec0fbf8fa6
|
[subset/ClassDef] Micro-optimize use_class_zero calc
Probably never matters.
|
2 years ago |