|
73a82af1
|
2023-06-27T17:05:22
|
|
[subset/cff] Remove stale wrong code
With my recent rewrite of serialize_header, this seems to
work now.
|
|
158eba66
|
2023-06-27T16:22:54
|
|
[subset/cff] Fix compiler error
About variable with internal linkage with no definition.
|
|
b0472199
|
2023-06-27T16:07:54
|
|
[subset/cff1] Micro-optimize code
Let compiler see whether optional argument is present.
|
|
1cabb65b
|
2023-06-27T16:01:17
|
|
[subset/cff] Micro-optimize CFFIndex::serialize_header
Unfortunately hb_array_t::begin/end are faster than its _begin/_end.
As such, a range loop on array itself is faster than range loop on
pipeline starting with array. Rework code to loop on the array always.
|
|
dfaf9cd5
|
2023-06-27T14:56:32
|
|
[subset/cff1] Minor optimize
|
|
41f85d01
|
2023-06-27T12:50:04
|
|
[benchmark-font] Add RobotoFlex
We didn't have a variable TTF before!
|
|
585c8426
|
2023-06-27T11:28:38
|
|
[subset/cff1] Minor micro-optimize
|
|
00904503
|
2023-06-27T08:18:18
|
|
[config] Graduate avar2 from boring-expansion
|
|
3edd6cdc
|
2023-06-27T06:56:00
|
|
[vector] Minor micro-optimize shrink_vector
The compiler seems to understand this pattern better.
|
|
aed21563
|
2023-06-26T22:51:50
|
|
[subset/cff1] Micro-optimize
|
|
40a1c08f
|
2023-06-26T19:03:04
|
|
[subset/cff1] Micro-optimize
|
|
bd3e7877
|
2023-06-26T18:55:39
|
|
[subset/cff1] Reuse a function
|
|
ffd23d3a
|
2023-06-26T18:54:06
|
|
[subset/cff1] Micro-optimize Charset serialization
|
|
452557cd
|
2023-06-26T18:40:54
|
|
Replace a free with hb_free
Ouch.
|
|
1fc128f6
|
2023-06-26T18:34:27
|
|
Replace a few memset/memcpy's with hb_ equivalents
|
|
2c359635
|
2023-06-26T18:28:11
|
|
[face-builder] Don't zero allocation
We overwrite it.
|
|
347b9448
|
2023-06-26T18:09:40
|
|
[null] Fix getting Crap(hb_bytes_t)
Fixes https://oss-fuzz.com/testcase-detail/6187272924692480
|
|
49c52fa9
|
2023-06-26T17:55:29
|
|
[cmap] Don't zero a few allocations unnecessarily
|
|
e4b2d9c3
|
2023-06-26T17:52:37
|
|
[pool] Don't clear unused memory
|
|
6129702e
|
2023-06-26T17:34:54
|
|
[subset/cff] Simplify some allocation embedding
|
|
99db06b4
|
2023-06-26T17:30:31
|
|
[var] Simplify a couple of copy operations
|
|
73bcd3f2
|
2023-06-26T17:24:40
|
|
[var] Adjust a few allocations to not clean space
Since we immediately copy.
|
|
b1e7e8ba
|
2023-06-26T17:19:45
|
|
[algs] Fix return of hb_memset()
|
|
c2bab073
|
2023-06-26T16:34:53
|
|
[subset/cff] Minor optimization
|
|
570fb4df
|
2023-06-26T16:26:12
|
|
[subset/cff] Add a vector pre-alloc
|
|
e447d394
|
2023-06-26T16:02:41
|
|
[subset/cff1] Micro-optimize
|
|
50499e9e
|
2023-06-26T15:32:27
|
|
[subset/cff1] Minor use rvalues in a few vector push() places
|
|
e5b3d4b1
|
2023-06-26T14:24:38
|
|
[subset/cff1] Minor use ?:
|
|
81e2db7c
|
2023-06-26T14:17:44
|
|
[subset/cff1] Speed up plan_subset_charset
|
|
d3f90a8c
|
2023-06-26T14:02:26
|
|
[subset/cff] Use a typedef for glyph_to_sid_map_t
|
|
6783701b
|
2023-06-26T12:31:22
|
|
[subset] Handle an error condition
Fixes https://oss-fuzz.com/testcase-detail/6306810588692480
|
|
7d3d157d
|
2023-06-26T12:02:21
|
|
[subset/cff] Speed up hb_plan_subset_cff_fdselect
|
|
f79d961a
|
2023-06-26T11:32:37
|
|
[vector] Speedup push()
|
|
b4b80bca
|
2023-06-26T11:29:32
|
|
[subset/cff1] Speed up plan_subset_charset
|
|
7305ec47
|
2023-06-26T12:35:03
|
|
Merge pull request #4300 from pnacht/scorecard-action
Add Scorecard action
|
|
4a628b23
|
2023-06-26T15:19:29
|
|
[meson] Remove incorrect option for ICU subproject
Fixes #4298 .
|
|
3bdb8639
|
2023-06-26T11:25:10
|
|
Add Scorecard badge to README
|
|
27ef6c08
|
2023-06-26T11:22:18
|
|
Create scorecard.yml
|
|
6c4f975d
|
2023-06-25T23:37:08
|
|
Add a fuzzer font
|
|
87f1b80d
|
2023-06-25T23:14:01
|
|
[bimap] Write with a map & vector combo
Faster for getting keys.
Speeds up 10% in:
BM_subset/subset_glyphs/RobotoFlex-Variable.ttf/retaingids/10
|
|
e7ad017c
|
2023-06-25T22:25:24
|
|
[subset/cff] Allocate more memory for retain-gids
To avoid serializing twice.
20% speedup in:
BM_subset/subset_glyphs/SourceSansPro-Regular.otf/retaingids/10
|
|
30f1ab86
|
2023-06-25T19:29:03
|
|
[subset/cff1] Fix typo
|
|
7c7db0fc
|
2023-06-25T19:07:40
|
|
[subset/cff1] Minor shuffle code around
|
|
1e09ebeb
|
2023-06-25T18:24:42
|
|
[subset/cff1] Minor use vector length instead of map population
|
|
23109dde
|
2023-06-25T18:21:57
|
|
[subset/cff1] Minor use an exact allocation
|
|
393f0f9f
|
2023-06-25T18:14:56
|
|
[map] Rename resize() to alloc()
Better matches the functionality, and hb_vector_t.
|
|
793f663b
|
2023-06-25T17:33:57
|
|
[vector] Speed up hb_vector_t<hb_array_t<U>>
|
|
289bad82
|
2023-06-25T17:26:40
|
|
[subset/cff1] Minor use a dagger
|
|
31d971d1
|
2023-06-25T17:23:52
|
|
[vector] Sprinkle std::addressof
|
|
c03c0a9d
|
2023-06-25T17:13:59
|
|
[subset/cff1] Remove unnecessary remap_sid_t::reset
The object is initialized automatically.
|
|
6ed0d04b
|
2023-06-25T17:10:36
|
|
[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.
|
|
7e97233c
|
2023-06-25T17:06:02
|
|
[subset/cff1] Comment
|
|
86a550dc
|
2023-06-25T17:01:40
|
|
[subset/cff1] Speed up string writing
|
|
dc1b1724
|
2023-06-25T16:35:36
|
|
[subset/cff1] Minor reuse a returned value
|
|
95341bcc
|
2023-06-25T16:31:54
|
|
[subset/cff1] Minor use {} initialization syntax
|
|
be0cec28
|
2023-06-25T16:01:13
|
|
[map] Micro-optimize iteration
Make is_real() faster (removes a shift). is_used() gets inlined
so is not slowed down by this change.
|
|
9dbea607
|
2023-06-25T14:28:02
|
|
[subset/cff1] Fix resource leak in error case
|
|
e310473c
|
2023-06-24T21:50:58
|
|
[use] Allow multiple CMAbv glyphs on subjoined
|
|
d4bbe3f4
|
2023-06-23T18:13:30
|
|
[subset/cff] Reuse a calculate index total data size
|
|
ec0fbf8f
|
2023-06-23T16:13:13
|
|
[subset/ClassDef] Micro-optimize use_class_zero calc
Probably never matters.
|
|
b557a841
|
2023-06-23T15:31:54
|
|
[algs] Speed up fasthash for aligned uint64_t
|
|
fc80d20c
|
2023-06-23T15:21:30
|
|
[serialize] Only hash at most 128 bytes for object_t
Optimization. Shouldn't in reality bring down the hash performance.
Byte objects differ in their early bytes anyway.
|
|
19eb5e3b
|
2023-06-23T15:12:13
|
|
[subset/cff1] Micro-optimize Charset::serialize
|
|
d36b87bd
|
2023-06-23T14:42:21
|
|
[vector] Speed up hb_vector_t<hb_vector_t<U>>::realloc_vector
Use in CFF subsetting.
|
|
b96eed02
|
2023-06-23T14:30:21
|
|
[vector] Speed up vector_t<vector_t<U>>::resize()
Used in CFF subsetting...
|
|
b80b628a
|
2023-06-23T13:41:42
|
|
[subset/cff1] Speed up plan_subset_charset
|
|
1902f6cc
|
2023-06-23T13:21:21
|
|
[map] Inline an accessor function
|
|
43d2ced8
|
2023-06-23T13:16:51
|
|
[map] Minor remove a conditional
|
|
817236dc
|
2023-06-23T13:12:40
|
|
[map] Speed up is_real
|
|
628ffd05
|
2023-06-23T14:43:09
|
|
Merge pull request #4287 from googlefonts/tuple_varstore_compile
[instancer] compile tuple variations
|
|
33507a9c
|
2023-06-23T12:40:35
|
|
[subset/cff] Micro-optimize hb_plan_subset_cff_fdselect
|
|
ecb46f70
|
2023-06-23T12:18:33
|
|
[subset/cff1] Comment
|
|
4332cb33
|
2023-06-23T12:03:42
|
|
[subset] Fix bot failure
|
|
c4b2950d
|
2023-06-23T11:55:39
|
|
[subset/cff1] Use cached subset-accel for seac calculations
Before we were creating a new (non-subset) accel each time.
|
|
b10cff99
|
2023-06-20T13:36:10
|
|
[instancer] address review comments
manage memory through vector when possible
|
|
5f399139
|
2023-06-23T11:22:01
|
|
[subset/cff] Move lazy cff-accelerator to cff-subset-accelerator
Fixes https://github.com/harfbuzz/harfbuzz/issues/4295
|
|
3a827123
|
2023-06-23T11:16:57
|
|
[benchmark-subset] Free cached face upon exist
For better valgrind output.
|
|
97d63e8d
|
2023-06-23T10:43:34
|
|
[subset/cff] Move serialize to accelerator
|
|
7344411c
|
2023-06-23T10:27:44
|
|
[subset] Sprinkle some HB_NO_SUBSET_CFF
|
|
26f320dc
|
2023-06-23T10:24:32
|
|
[subset/cff] Remove unused method
|
|
43ec78f9
|
2023-06-23T10:22:30
|
|
[subset/cff] Cache CFF accelerator in hb_subset_plan_t
This shows 7% speedup in:
BM_subset/subset_glyphs/SourceHanSans-Regular_subset.otf/retaingids/10
|
|
154aae3a
|
2023-06-22T20:41:16
|
|
[subset] Minor use an auto variable
I need this later. :D
|
|
64e49e0f
|
2023-06-22T20:27:20
|
|
[subset-cff2] Store num_glyphs in plan
Like cff1 code does.
Also, check for .notdef, like cff1 code does.
|
|
f05561dd
|
2023-06-22T20:25:04
|
|
[subset-cff1] Use plan.num_glyphs instead of passing again
|
|
7a124a0b
|
2023-06-22T20:18:20
|
|
[cff1] Use constructor for accelerator_templ_t
|
|
ad025ddf
|
2023-06-22T20:09:36
|
|
[subset-cff] Simplify a bit
|
|
e1753782
|
2023-06-22T19:45:29
|
|
[subset-cff] Handle an error condition
|
|
cb5f4d0c
|
2023-06-22T18:46:33
|
|
[subset-plan] Avoid a copy in freeing name-table-overrides
|
|
d8fba5c6
|
2023-06-22T19:25:54
|
|
[use] Add FM categories to `POST_BASE_FLAGS64`
|
|
6a17622a
|
2023-06-22T18:35:10
|
|
[array] Speed up iteration
These are faster than relying on the random-access methods
(forward, rewind, item_it).
|
|
f839bd11
|
2023-06-22T17:29:57
|
|
[multimap] Use one fewer object
Also fix error-checking to check for sub-object errors.
|
|
280edb90
|
2023-06-22T17:07:31
|
|
[map] Use a variable instead of function for is_trivial
|
|
0aa939e7
|
2023-06-22T17:05:55
|
|
[map] Add a constexpr
|
|
cf386e8c
|
2023-06-22T17:02:10
|
|
[map] Speed up resize()
|
|
abd6c305
|
2023-06-22T16:44:29
|
|
[subset-plan] Micro-optimize
|
|
7b53d2db
|
2023-06-22T16:35:11
|
|
[subset] Avoid copying gid_to_unicode multimap
Construct it in the accelerator directly.
|
|
272e159c
|
2023-06-22T16:31:50
|
|
[subset] Speed up populating reverse cmap
|
|
8f80d9d3
|
2023-06-22T16:22:47
|
|
[subset-accelerator] Avoid a multimap copy
|
|
f55619b8
|
2023-06-20T12:37:05
|
|
[instancer] add subset () for cvar
|
|
e39e0201
|
2023-06-20T11:48:53
|
|
[instancer] add serialize() method for TupleVariationData
|