Behdad Esfahbod
|
41f85d0179
|
[benchmark-font] Add RobotoFlex
We didn't have a variable TTF before!
|
2023-06-27 12:50:04 -06:00 |
|
Behdad Esfahbod
|
585c84268d
|
[subset/cff1] Minor micro-optimize
|
2023-06-27 11:28:38 -06:00 |
|
Behdad Esfahbod
|
00904503d8
|
[config] Graduate avar2 from boring-expansion
|
2023-06-27 08:18:18 -06:00 |
|
Behdad Esfahbod
|
3edd6cdcd5
|
[vector] Minor micro-optimize shrink_vector
The compiler seems to understand this pattern better.
|
2023-06-27 07:07:02 -06:00 |
|
Behdad Esfahbod
|
aed215639a
|
[subset/cff1] Micro-optimize
|
2023-06-26 22:51:50 -06:00 |
|
Behdad Esfahbod
|
40a1c08f4c
|
[subset/cff1] Micro-optimize
|
2023-06-26 19:03:04 -06:00 |
|
Behdad Esfahbod
|
bd3e78770e
|
[subset/cff1] Reuse a function
|
2023-06-26 18:55:39 -06:00 |
|
Behdad Esfahbod
|
ffd23d3a31
|
[subset/cff1] Micro-optimize Charset serialization
|
2023-06-26 18:54:06 -06:00 |
|
Behdad Esfahbod
|
452557cd18
|
Replace a free with hb_free
Ouch.
|
2023-06-26 18:40:54 -06:00 |
|
Behdad Esfahbod
|
1fc128f609
|
Replace a few memset/memcpy's with hb_ equivalents
|
2023-06-26 18:36:23 -06:00 |
|
Behdad Esfahbod
|
2c359635df
|
[face-builder] Don't zero allocation
We overwrite it.
|
2023-06-26 18:28:11 -06:00 |
|
Behdad Esfahbod
|
347b944811
|
[null] Fix getting Crap(hb_bytes_t)
Fixes https://oss-fuzz.com/testcase-detail/6187272924692480
|
2023-06-26 18:10:36 -06:00 |
|
Behdad Esfahbod
|
49c52fa953
|
[cmap] Don't zero a few allocations unnecessarily
|
2023-06-26 17:57:08 -06:00 |
|
Behdad Esfahbod
|
e4b2d9c3f3
|
[pool] Don't clear unused memory
|
2023-06-26 17:52:37 -06:00 |
|
Behdad Esfahbod
|
6129702eb8
|
[subset/cff] Simplify some allocation embedding
|
2023-06-26 17:34:54 -06:00 |
|
Behdad Esfahbod
|
99db06b4d2
|
[var] Simplify a couple of copy operations
|
2023-06-26 17:30:31 -06:00 |
|
Behdad Esfahbod
|
73bcd3f241
|
[var] Adjust a few allocations to not clean space
Since we immediately copy.
|
2023-06-26 17:24:40 -06:00 |
|
Behdad Esfahbod
|
b1e7e8ba2f
|
[algs] Fix return of hb_memset()
|
2023-06-26 17:19:45 -06:00 |
|
Behdad Esfahbod
|
c2bab07391
|
[subset/cff] Minor optimization
|
2023-06-26 16:41:55 -06:00 |
|
Behdad Esfahbod
|
570fb4df58
|
[subset/cff] Add a vector pre-alloc
|
2023-06-26 16:26:12 -06:00 |
|
Behdad Esfahbod
|
e447d394a6
|
[subset/cff1] Micro-optimize
|
2023-06-26 16:02:41 -06:00 |
|
Behdad Esfahbod
|
50499e9e40
|
[subset/cff1] Minor use rvalues in a few vector push() places
|
2023-06-26 15:32:27 -06:00 |
|
Behdad Esfahbod
|
e5b3d4b105
|
[subset/cff1] Minor use ?:
|
2023-06-26 14:24:38 -06:00 |
|
Behdad Esfahbod
|
81e2db7cbc
|
[subset/cff1] Speed up plan_subset_charset
|
2023-06-26 14:17:44 -06:00 |
|
Behdad Esfahbod
|
d3f90a8ca7
|
[subset/cff] Use a typedef for glyph_to_sid_map_t
|
2023-06-26 14:02:26 -06:00 |
|
Behdad Esfahbod
|
6783701b4e
|
[subset] Handle an error condition
Fixes https://oss-fuzz.com/testcase-detail/6306810588692480
|
2023-06-26 12:31:22 -06:00 |
|
Behdad Esfahbod
|
7d3d157de8
|
[subset/cff] Speed up hb_plan_subset_cff_fdselect
|
2023-06-26 12:02:21 -06:00 |
|
Behdad Esfahbod
|
f79d961a31
|
[vector] Speedup push()
|
2023-06-26 11:35:21 -06:00 |
|
Behdad Esfahbod
|
b4b80bcaea
|
[subset/cff1] Speed up plan_subset_charset
|
2023-06-26 11:35:21 -06:00 |
|
Behdad Esfahbod
|
7305ec47b1
|
Merge pull request #4300 from pnacht/scorecard-action
Add Scorecard action
|
2023-06-26 12:35:03 -04:00 |
|
arch1t3cht
|
4a628b236f
|
[meson] Remove incorrect option for ICU subproject
Fixes #4298 .
|
2023-06-26 18:29:56 +03:00 |
|
Pedro Nacht
|
3bdb8639e4
|
Add Scorecard badge to README
|
2023-06-26 14:45:58 +00:00 |
|
Pedro Nacht
|
27ef6c081e
|
Create scorecard.yml
|
2023-06-26 14:45:58 +00:00 |
|
Behdad Esfahbod
|
6c4f975dcb
|
Add a fuzzer font
|
2023-06-25 23:37:08 -06:00 |
|
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
|
2023-06-25 23:14:01 -06:00 |
|
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
|
2023-06-25 22:26:10 -06:00 |
|
Behdad Esfahbod
|
30f1ab86ea
|
[subset/cff1] Fix typo
|
2023-06-25 19:29:03 -06:00 |
|
Behdad Esfahbod
|
7c7db0fcba
|
[subset/cff1] Minor shuffle code around
|
2023-06-25 19:07:40 -06:00 |
|
Behdad Esfahbod
|
1e09ebebc1
|
[subset/cff1] Minor use vector length instead of map population
|
2023-06-25 18:24:42 -06:00 |
|
Behdad Esfahbod
|
23109dde5e
|
[subset/cff1] Minor use an exact allocation
|
2023-06-25 18:21:57 -06:00 |
|
Behdad Esfahbod
|
393f0f9f16
|
[map] Rename resize() to alloc()
Better matches the functionality, and hb_vector_t.
|
2023-06-25 18:14:56 -06:00 |
|
Behdad Esfahbod
|
793f663bad
|
[vector] Speed up hb_vector_t<hb_array_t<U>>
|
2023-06-25 17:33:57 -06:00 |
|
Behdad Esfahbod
|
289bad82f0
|
[subset/cff1] Minor use a dagger
|
2023-06-25 17:26:40 -06:00 |
|
Behdad Esfahbod
|
31d971d1aa
|
[vector] Sprinkle std::addressof
|
2023-06-25 17:23:52 -06:00 |
|
Behdad Esfahbod
|
c03c0a9d76
|
[subset/cff1] Remove unnecessary remap_sid_t::reset
The object is initialized automatically.
|
2023-06-25 17:13:59 -06:00 |
|
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.
|
2023-06-25 17:12:33 -06:00 |
|
Behdad Esfahbod
|
7e97233c35
|
[subset/cff1] Comment
|
2023-06-25 17:06:02 -06:00 |
|
Behdad Esfahbod
|
86a550dc7e
|
[subset/cff1] Speed up string writing
|
2023-06-25 17:01:40 -06:00 |
|
Behdad Esfahbod
|
dc1b172408
|
[subset/cff1] Minor reuse a returned value
|
2023-06-25 16:35:36 -06:00 |
|
Behdad Esfahbod
|
95341bcc15
|
[subset/cff1] Minor use {} initialization syntax
|
2023-06-25 16:31:54 -06:00 |
|