Commit Graph
15130 Commits
Author SHA1 Message Date
Garret Rieger dd347eb4e2 [VARC] fix potential unitialized value use in get_extents_without_var_scaled.
Callers of get_extents_without_var_scaled assume it will set extents if it has returned true.
2025-07-23 14:23:07 -06:00
Qunxin Liu 4b00cec0ea [subset] bug fix for COLRv1 layer index closure 2025-07-23 13:28:11 -06:00
Garret Rieger 04d60de6ae [CFF2] Fix fuzzer failure in CFF2.
Fixes https://oss-fuzz.com/testcase-detail/5291661985120256
2025-07-23 12:59:22 -06:00
Khaled Hosny 1e7b99c53b [kbts] Support features
Probably does too many reallocations, but it works.
2025-07-23 21:39:23 +03:00
Khaled Hosny 7d219f0bf3 [kbts] Add shaper 2025-07-23 21:39:23 +03:00
Khaled Hosny bb3a839496 [kbts] Add dummy shaper
Just the infrastructure to build the shaper.
2025-07-23 21:39:23 +03:00
Behdad Esfahbod 3a64fce9b7 Merge branch 'main' into HVF 2025-07-23 00:29:55 -06:00
Behdad Esfahbod f63d960c4e Fix a MSVC warning re __has_builtin
Fixes https://github.com/harfbuzz/harfbuzz/issues/5395
2025-07-22 16:59:48 -06:00
Caolán McNamara d7e0a6d573 const up thai_below_start_state 2025-07-22 14:32:55 -06:00
Behdad Esfahbod de2efbf375 [glyf] Another OOM fix 2025-07-21 22:49:11 -06:00
Behdad Esfahbod c0052d1753 [ot-font] Handle scratch alloc failures
Might fix https://issues.oss-fuzz.com/issues/433311403
2025-07-21 22:49:11 -06:00
Behdad Esfahbod 4e3df1c138 11.3.2 2025-07-20 18:12:39 -06:00
Behdad Esfahbod 8991fa7a89 [rust] Roll forward
Give clippy more time.
2025-07-20 18:12:39 -06:00
Andrew Murray b6552d7e60 Corrected syntax 2025-07-21 08:44:24 +10:00
Behdad Esfahbod 95a15d5313 11.3.1 2025-07-20 14:15:02 -06:00
Behdad Esfahbod 166e7024c7 [font] Fix glyph_v_origin copy/pasta
Ouch!
2025-07-20 13:57:33 -06:00
Khaled Hosny 30e7af11ee 11.3.0 2025-07-20 21:40:37 +03:00
Khaled Hosny 639adcf229 Fix missing REPLACEME version numbers from 11.2.0 release 2025-07-20 21:08:56 +03:00
Behdad Esfahbod fc86cd9250 [DeltaIndexMap] Add a HB_HOT 2025-07-20 10:39:29 -06:00
Behdad Esfahbod e0a06c94e5 [algs] Mark bsearch as hot
Doesn't make a difference in the generated code though.
2025-07-20 07:19:23 -06:00
Behdad Esfahbod 56f888cea1 [cache] Mark get/set as hot 2025-07-20 07:19:23 -06:00
Behdad Esfahbod 4214bfef55 [cache] Simplify return 2025-07-20 07:19:23 -06:00
Behdad Esfahbod bc51ad67e6 [DeltaIndexMap] Micro-optimize 2025-07-20 07:19:23 -06:00
Behdad Esfahbod a6f20aa49a [VarData] Optimize get_delta if column-count is zero
This is common in certain workloads.
2025-07-20 07:19:23 -06:00
Behdad Esfahbod fd2c0469fe [ot-font] Minor, call methods directly 2025-07-20 07:19:23 -06:00
Behdad Esfahbod 307a19f2c2 [glyf] Minor micro-optimize 2025-07-20 07:19:23 -06:00
Behdad Esfahbod 0ce2b74fb1 [gvar] Don't store deltas not needed
For phantoms-only case. 30% speedup on v-advances func's slowest
codepath (using phantom-points).
2025-07-20 07:19:23 -06:00
Behdad Esfahbod fed65c8bf8 [ot-font] Mark a function hot 2025-07-20 07:19:23 -06:00
Behdad Esfahbod 57083f26cb [ot-font] Use varStore-cache for VORG VVAR in v-origins 2025-07-20 07:19:23 -06:00
Behdad Esfahbod 8a7b9cf25f [hvar] Remove dead code 2025-07-20 07:19:23 -06:00
Behdad Esfahbod f2a3ca7212 [ot-font] Speed up VORG codepath in v-origins 2025-07-20 07:19:23 -06:00
Behdad Esfahbod 6254642434 [font] Speed up non-synthetic v-origins 2025-07-20 07:19:23 -06:00
Behdad Esfahbod 4fd6345acb [ot-font] Clean up cache invalidation
Also, cache is_synthetic on font.
2025-07-20 07:19:23 -06:00
Behdad Esfahbod aee066bcae [ot-font] Fix v-origins caching
Negative numbers don't fit in the cache...
2025-07-20 07:19:23 -06:00
Behdad Esfahbod 8d87e3af9b [font] Typo in glyph_v_origins impl 2025-07-20 07:19:23 -06:00
Behdad Esfahbod 6bf2292d9a [ot-font] Comment 2025-07-20 07:19:23 -06:00
Behdad Esfahbod abcefb695a [glyf] Remove dead code 2025-07-20 07:19:23 -06:00
Behdad Esfahbod d95faf9012 [ot-font] Cosmetic 2025-07-20 07:19:23 -06:00
Behdad Esfahbod 7a41150fed [ot-font] Use glyf scratch in v-advances 2025-07-20 07:19:23 -06:00
Behdad Esfahbod ecc5c4880d [ot-font] Release v-origins caches 2025-07-20 07:19:23 -06:00
Behdad Esfahbod a40f85aff7 [font] Acquire a scratch for v-origins
Still too slow.
2025-07-20 07:19:23 -06:00
Behdad Esfahbod 76357479e3 [glyf] Non-var-optimize a method 2025-07-20 07:19:23 -06:00
Behdad Esfahbod 0dc5f8a28e [ot-font] Finish caching of v-origins
On to benchmarking...
2025-07-20 07:19:23 -06:00
Behdad Esfahbod e697e4d35a [ot-font] More baby steps towards caching v-origins 2025-07-20 07:19:23 -06:00
Behdad Esfahbod 9cd9057aea [ot-font] More baby steps towards caching v-origins 2025-07-20 07:19:23 -06:00
Behdad Esfahbod df6c76dc99 [ot-font] Baby steps re glyph-v-origins batching 2025-07-20 07:19:23 -06:00
Behdad Esfahbod 486eb914b6 [ot-font] Baby steps re batching glyph-v-origins 2025-07-20 07:19:23 -06:00
Behdad Esfahbod ebc61ec474 [ot-font] Slow massaging of glyph-v-origins 2025-07-20 07:19:23 -06:00
Behdad Esfahbod da18bc0551 [docs] Fix build 2025-07-20 07:19:23 -06:00
Behdad Esfahbod 1f6fe46529 [ot-font] Switch to plural glyph-v-origins
Still calls the singular slow version.
2025-07-20 07:19:23 -06:00