Behdad Esfahbod
|
690af7aa69
|
[GPOS] Sanitize Device tables lazily
This speeds up face loading for variable fonts by 80%!
Comparing before to after
Benchmark Time CPU Time Old Time New CPU Old CPU New
---------------------------------------------------------------------------------------------------------------------------------------------------------------
BM_Font/load_face_and_shape/Roboto-Regular.ttf/hb -0.0368 -0.0366 20 20 20 19
BM_Font/load_face_and_shape/RobotoFlex-Variable.ttf/hb -0.7149 -0.7162 77 22 77 22
BM_Font/load_face_and_shape/RobotoFlex-Variable.ttf/var/hb -0.7241 -0.7255 80 22 79 22
BM_Font/load_face_and_shape/SourceSansPro-Regular.otf/hb -0.1441 -0.1445 28 24 28 24
BM_Font/load_face_and_shape/AdobeVFPrototype.otf/hb -0.7893 -0.7910 66 14 66 14
BM_Font/load_face_and_shape/AdobeVFPrototype.otf/var/hb -0.7865 -0.7882 67 14 66 14
BM_Font/load_face_and_shape/SourceSerifVariable-Roman.ttf/hb -0.8895 -0.8900 227 25 226 25
BM_Font/load_face_and_shape/SourceSerifVariable-Roman.ttf/var/hb -0.8895 -0.8900 226 25 225 25
BM_Font/load_face_and_shape/Comfortaa-Regular-new.ttf/hb -0.5512 -0.5531 42 19 42 19
BM_Font/load_face_and_shape/NotoNastaliqUrdu-Regular.ttf/hb -0.1511 -0.1510 227 192 225 191
BM_Font/load_face_and_shape/NotoSerifMyanmar-Regular.otf/hb -0.1494 -0.1498 41 35 40 34
OVERALL_GEOMEAN -0.6443 -0.6456 0 0 0 0
|
2023-06-30 11:05:54 -06:00 |
|
Behdad Esfahbod
|
d338506ccf
|
[GPOS] Reuse sanitize_values_stride_unsafe in another function
|
2023-06-30 10:13:05 -06:00 |
|
Behdad Esfahbod
|
dcecb4d16b
|
[subset/ValueFormat] Micro-optimize
|
2023-06-05 16:03:36 -06:00 |
|
Behdad Esfahbod
|
b63159e8bf
|
[PairPosFormat1] Fix stride
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=55287
and generally the lookup with MediumTypes.
|
2023-01-21 15:51:40 -07:00 |
|
Qunxin Liu
|
6de0a6f0b7
|
[instance] update GPOS ValueRecord table
|
2022-09-01 09:43:46 -07:00 |
|
Qunxin Liu
|
b72995ff16
|
[instance] GDEF table: collect both varidxes and deltas
|
2022-09-01 09:33:02 -07:00 |
|
Garret Rieger
|
7f4b2037a5
|
[repacker] include size of device tables when determining PairPos2 split points.
|
2022-08-02 18:43:25 +00:00 |
|
Garret Rieger
|
58fdbd8e5d
|
[repacker] begin adding PairPosFormat2 splitting support.
|
2022-08-02 17:32:13 +00:00 |
|
Garret Rieger
|
88ef3c5a9a
|
[reorg] Change OT::Layout::GPOS to OT::Layout::GPOS_impl.
|
2022-06-28 18:47:50 -06:00 |
|
Garret Rieger
|
74f45f7c2a
|
[reorg] Move remaining GPOS lookup types to new directory.
|
2022-06-28 18:47:50 -06:00 |
|
Garret Rieger
|
c7307ca06a
|
[reorg] Begin moving GPOS into the new directory layout.
|
2022-06-28 18:47:50 -06:00 |
|