Commit Graph
15947 Commits
Author SHA1 Message Date
Behdad Esfahbod e2be7865f3 [VarComposite] Minor rewrite 2023-04-27 13:55:37 -06:00
Qunxin Liu b9b85da3c9 [instancer] no need to create hb_font_t object when fetching delta from varstore 2023-04-27 13:55:02 -06:00
Behdad Esfahbod 58f79063bb [VarComposite] Set min_size to 5 2023-04-27 13:35:32 -06:00
Behdad Esfahbod 28b5a47d2b [VarComposite] Reuse a variable 2023-04-27 13:31:53 -06:00
Behdad Esfahbod 977c2f9c66 [glyf] Micro-optimize 2023-04-27 13:25:30 -06:00
Behdad Esfahbod a4b4536a17 Revert "[glyf] Micro-optimize"
This reverts commit 2bbb605d08.

In case of phantoms_only we were leaving array uninitialized.
This is why the fedora-valgrind bot broke.
2023-04-27 13:14:52 -06:00
Behdad Esfahbod 1c4e7e4f7e [VarComposite] Rewrite code with ? 2023-04-27 13:05:54 -06:00
Behdad Esfahbod 9491a3dd0b [VarComposite] Minor notation 2023-04-27 13:01:27 -06:00
Behdad Esfahbod 644e0551a2 [VarComposite] Minor move code 2023-04-27 13:00:34 -06:00
Behdad Esfahbod 79aa9e93d3 [VarComposite] Optimize translate, second try 2023-04-27 12:57:25 -06:00
Behdad Esfahbod 83bbeaca20 [VarComposite] Minor move code 2023-04-27 12:49:56 -06:00
Behdad Esfahbod 9b5afad493 [var] Fix assertion
Fixes https://oss-fuzz.com/testcase-detail/4861707188305920
2023-04-27 12:38:44 -06:00
Behdad Esfahbod 7cb95c8ab7 Revert "[VarComposite] Optimize translate()"
This reverts commit 6a55e73d6a.

This was wrong.
2023-04-27 12:28:00 -06:00
Behdad Esfahbod b79a49f1a0 [VarComposite] Optimize get_points() 2023-04-27 12:21:32 -06:00
Behdad Esfahbod 51891e8ff4 [VarComposite] Micro-optimize 2023-04-27 12:16:12 -06:00
Behdad Esfahbod 0f05ced13b [VarComposite] Optimize transformation functions more 2023-04-27 11:59:28 -06:00
Behdad Esfahbod 65ea95b974 [VarComposite] Optimize skew() 2023-04-27 11:56:03 -06:00
Behdad Esfahbod 070f837be6 [VarComposite] Optimize rotate() 2023-04-27 11:56:03 -06:00
Behdad Esfahbod 4e256f5a57 [VarComposite] Optimize scale() 2023-04-27 11:56:03 -06:00
Behdad Esfahbod 6a55e73d6a [VarComposite] Optimize translate() 2023-04-27 11:56:03 -06:00
Behdad Esfahbod cdc02acd3d [VarComposite] Minor adjust initialization values 2023-04-27 11:56:03 -06:00
Behdad Esfahbod a257546de4 [VarComposite] Minor micro-optimize / indent 2023-04-27 11:56:03 -06:00
Behdad Esfahbod 18396b8e27 [VarComposite] Micro-optimize 2023-04-27 11:56:03 -06:00
Behdad Esfahbod 1e71a673e9 [VarComposite] Micro-optimize 2023-04-27 11:56:03 -06:00
Behdad Esfahbod dd860fad80 [VarComposite] Micro-optimize 2023-04-27 11:56:03 -06:00
Behdad Esfahbod 6457847719 [VarComposite] Minor change variable types 2023-04-27 11:56:03 -06:00
Behdad Esfahbod 50e758e345 [glyf] Tweak assertion 2023-04-27 11:56:03 -06:00
Behdad Esfahbod 1056590f00 [config] Add HB_OPTIMIZE_SIZE_VAL 2023-04-27 11:56:03 -06:00
Behdad Esfahbod 726590ed5f [gvar] Add optimize-size code path 2023-04-27 11:56:03 -06:00
Khaled Hosny 7c9ed76d0a [doc] Use simpler markdown link syntax 2023-04-27 03:27:24 +02:00
Behdad Esfahbod a200f0a3fe [gvar] Micro-optimize 2023-04-26 17:29:49 -06:00
Behdad Esfahbod db86e977a0 [gvar] Micro-optimize 2023-04-26 17:08:53 -06:00
Behdad Esfahbod 27b8a208ec [gvar] Minor variable reuse 2023-04-26 17:00:52 -06:00
Behdad Esfahbod 2bbb605d08 [glyf] Micro-optimize
No need to init the whole array.
2023-04-26 17:00:52 -06:00
Behdad Esfahbod c87f26018d [glyf] Micro-optimize 2023-04-26 17:00:52 -06:00
Khaled Hosny a321c4fee5 7.2.0 7.2.0 2023-04-27 00:48:00 +02:00
Behdad Esfahbod fd52c4cf7b [gvar] Comment 2023-04-26 16:28:22 -06:00
Behdad Esfahbod 0c59c629c1 [gvar] Micro-optimize
For cases where no deltaset applies.
2023-04-26 16:26:35 -06:00
Behdad Esfahbod 5d1a603ad1 [var] Fix compiler warnings 2023-04-26 16:25:53 -06:00
Behdad Esfahbod af393e9652 [gvar] Refactor a variable 2023-04-26 16:02:06 -06:00
Behdad Esfahbod 2a3bf5a542 [gvar] Minor error-handling 2023-04-26 15:58:55 -06:00
Behdad Esfahbod 57faabb78e [gvar] Micro-optimize 2023-04-26 15:56:04 -06:00
Behdad Esfahbod 76e269af9e [gvar] Micro-optimize 2023-04-26 15:48:06 -06:00
Behdad Esfahbod 7349cea127 [gvar] Micro-optimization 2023-04-26 14:27:24 -06:00
Behdad Esfahbod bc53587002 [deprecated] Add HB_UNICODE_COMBINING_CLASS_CCC133
https://github.com/harfbuzz/harfbuzz/pull/4207
2023-04-26 13:57:11 -06:00
Behdad Esfahbod c5afe026bd [gvar] Comment 2023-04-26 13:44:03 -06:00
Behdad Esfahbod 87c6e68ec3 [gvar] Assertion 2023-04-26 13:20:51 -06:00
Behdad Esfahbod 0938673731 [gvar] Error handling & micro-optimization 2023-04-26 13:19:27 -06:00
Behdad Esfahbod b6aa2d71f3 [gvar] Speed up calculate_scalar more
Use a gvar-wide cache of the one active peak index for shared-tuples
that have only one active peak. This speeds up the scalar calculation.

This shows significant speedup for the CJK VarComposite font for
example since that has tens of axes with mostly only one active peak.
2023-04-26 13:13:34 -06:00
Han Seung Min - 한승민 ffbfab123f oops docs 2023-04-26 10:56:29 -06:00