Behdad Esfahbod
|
59c45f6deb
|
Use hb_memcpy instead of memcpy consistently
|
2022-11-22 12:54:50 -07:00 |
Behdad Esfahbod
|
2968dd7844
|
[gvar] Optimize as_array() access
|
2022-11-22 11:57:29 -07:00 |
Behdad Esfahbod
|
bb3bb76450
|
[gvar] Optimize scalar = 1.0 case
|
2022-11-22 11:53:35 -07:00 |
Behdad Esfahbod
|
2d098d5d7f
|
[gvar] Use memset
|
2022-11-22 11:51:04 -07:00 |
Behdad Esfahbod
|
e630a65e60
|
[gvar] Micro-optize vector extend
|
2022-11-22 11:29:13 -07:00 |
Behdad Esfahbod
|
49d4f62135
|
[gvar] Micro-optimize
|
2022-11-22 11:14:56 -07:00 |
Behdad Esfahbod
|
16ec9dcc1b
|
[gvar] Whitespace
|
2022-11-22 10:55:16 -07:00 |
Behdad Esfahbod
|
72059a4789
|
[gvar] Optimize IUP alg
|
2022-11-22 10:41:37 -07:00 |
Behdad Esfahbod
|
ee9873b5ed
|
[gvar] Disable initializing vectors when not necessary
|
2022-11-22 10:23:17 -07:00 |
Behdad Esfahbod
|
a2059f8f55
|
[gvar] Optimize unpack_points
|
2022-11-22 10:16:21 -07:00 |
Behdad Esfahbod
|
6d7206b68b
|
[gvar] Optimize unpack_deltas
|
2022-11-22 10:13:14 -07:00 |
Behdad Esfahbod
|
2e86700e30
|
[gvar] Add memory-barrier as in ArrayOf
|
2022-11-21 12:28:10 -07:00 |
Behdad Esfahbod
|
4be074e2cb
|
[gvar] Whitespace
|
2022-06-27 16:12:42 -06:00 |
Behdad Esfahbod
|
a96647841a
|
[gvar] Optimize apply_deltas_to_points
|
2022-06-27 15:41:02 -06:00 |
Behdad Esfahbod
|
e9af9062c0
|
[gvar] Optimize unpack_deltas
|
2022-06-27 15:38:42 -06:00 |
Behdad Esfahbod
|
573e77280b
|
[gvar] Optimize unpack_deltas
|
2022-06-27 15:35:28 -06:00 |
Behdad Esfahbod
|
698f51464c
|
[gvar] Share vector allocation across delta-sets
|
2022-06-27 15:30:19 -06:00 |
Behdad Esfahbod
|
39e280c256
|
[gvar] Handle a couple of error conditions
|
2022-06-27 15:28:30 -06:00 |
Behdad Esfahbod
|
5be6e5dd57
|
[gvar] Rewrite linear interpolation
|
2022-06-27 15:22:16 -06:00 |
Behdad Esfahbod
|
57519b532d
|
[gvar] Use pointer-to-member instead of function
|
2022-06-27 15:18:56 -06:00 |
Behdad Esfahbod
|
ab15fe082a
|
[gvar] Handle a couple of error conditions
|
2022-06-27 15:13:10 -06:00 |
Behdad Esfahbod
|
b7e9e8785c
|
[gvar] Optimize deltas and points loading
|
2022-06-27 15:09:25 -06:00 |
Behdad Esfahbod
|
97cbc2d40a
|
[gvar] Remove condition that font num_coords should match gvar's
|
2022-06-27 12:37:11 -06:00 |
Behdad Esfahbod
|
95bfa0913d
|
[gvar] Optimize translate()
|
2022-06-27 12:10:16 -06:00 |
Behdad Esfahbod
|
9f067582b8
|
[gvar] Optimize transform()
|
2022-06-27 12:10:16 -06:00 |
Behdad Esfahbod
|
cfc57ef862
|
[glyf] Optimize contour_point_t layout
|
2022-06-27 12:10:16 -06:00 |
Behdad Esfahbod
|
75ca78a6bb
|
[glyf] Optimize hb_contour_points_t::extend
|
2022-06-27 12:10:16 -06:00 |
Behdad Esfahbod
|
30d58bfd0f
|
[glyf] Don't translate/transform components if has no effect
|
2022-06-26 16:49:40 -06:00 |
Behdad Esfahbod
|
9ce9773040
|
[glyf/SimpleGlyph] Minor use constructor for contour_point_t
|
2022-06-26 13:08:37 -06:00 |
Behdad Esfahbod
|
dd71d2c1c3
|
[gvar] Protect against offset underflow
|
2022-05-06 13:02:26 -06:00 |
Behdad Esfahbod
|
9a6dabd61a
|
[gvar] Remove sanitize check for data array
We are not checking in sanitize that offset array is ascending,
so this check was bogus.
|
2022-05-06 12:43:45 -06:00 |
Behdad Esfahbod
|
38478d1061
|
[gvar] DEFINE_SIZE_ARRAY instead of DEFINE_SIZE_MIN
|
2022-05-06 12:43:45 -06:00 |
Behdad Esfahbod
|
90d278c92e
|
[gvar] Remove requirement that num_glyphs matches the font's
|
2022-05-06 12:43:45 -06:00 |
Behdad Esfahbod
|
ca8a0f3ea3
|
[gvar] Protect against out-of-range access
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47281
Fixes https://oss-fuzz.com/testcase-detail/5508865908670464
|
2022-05-06 11:54:38 -06:00 |
Behdad Esfahbod
|
3a78cf92c8
|
[gvar] Fix decoding of private vs shared points
Fixes https://github.com/harfbuzz/harfbuzz/issues/3506
|
2022-03-25 13:25:28 -06:00 |
Behdad Esfahbod
|
ac1bb3e39e
|
[machinery] Move accelerators to constructor/destructor
|
2022-01-20 12:10:05 -07:00 |
Behdad Esfahbod
|
e062376ef1
|
[machinery] Make accelerator lazy-loader call Xinit/Xfini
Instead of init/fini. To isolate those functions. To be turned into
constructor/destructors, ideally one per commit (after some SFINAE
foo.)
|
2022-01-19 17:09:34 -07:00 |
luz paz
|
e2e305066a
|
Fix various typos
Found via `codespell -q 3 -S ./perf/texts -L actualy,ba,beng,fo,gir,inout,nd,ot,pres,ro,te,teh,timne`
|
2022-01-16 05:39:03 -08:00 |
Garret Rieger
|
46d4a5e673
|
[subset] Convert subset plan to use a flags bit set.
|
2021-07-29 18:02:34 -07:00 |
Qunxin Liu
|
d07f789ae3
|
[subset] support option "--notdef-outline"
|
2021-06-18 15:35:02 -07:00 |
Behdad Esfahbod
|
ad28f973f3
|
Rename offset types to be explicit about their size
Add Offset16To<>, Offset24To<>, and Offset32To<> for most use-cases.
|
2021-03-31 13:00:07 -06:00 |
justvanrossum
|
1d8a89504b
|
do not round added deltas; fixes #2866
|
2021-02-19 16:53:21 -07:00 |
ebraminio
|
732a9164d9
|
[gvar] minor
|
2020-08-11 16:37:55 +04:30 |
Ebrahim Byagowi
|
0907c10214
|
[gvar] minor
|
2020-08-07 00:15:32 +04:30 |
Ebrahim Byagowi
|
02d1ec1658
|
[gvar] Don't fail on imprefect gvar
No need to fail even if gvar doesn't have that much glyphs
|
2020-08-06 22:18:35 +04:30 |
Ebrahim Byagowi
|
ec17b62457
|
[var] Apply variations on empty glyphs
It was ignoring empty glyphs for no good reason, this fixes it.
Fixes #2618
|
2020-08-06 20:16:11 +04:30 |
Ebrahim Byagowi
|
5cab55ca90
|
[gvar] minor
|
2020-08-06 18:54:58 +04:30 |
Ebrahim Byagowi
|
d0e2addd43
|
minor
|
2020-07-18 22:16:02 +04:30 |
Ebrahim Byagowi
|
648338c7d4
|
[gvar] Add fields docs from ot-spec as other tables
|
2020-03-10 13:20:56 +03:30 |
Ebrahim Byagowi
|
1b3b96973b
|
[gvar] Don't copy shared tuples into gvar's accelerator
|
2020-03-10 12:46:09 +03:30 |