Commit Graph
72 Commits
Author SHA1 Message Date
Behdad Esfahbod 677f0b367d [rust] Update to HarfRust 0.4.* 2025-11-10 21:40:20 -07:00
Behdad Esfahbod 88844e2ed9 [rust] Tweak debugoptimized again
Now on par in perf with release, but nice stacktraces.
2025-09-24 13:28:28 -06:00
Behdad Esfahbod ba4f92f200 [rust] Change debugoptimized build to inherit dev instead of release
I was getting useless profiler stacks with the previous setup.
This one makes the debugoptimized build 30% slower than release
in one of my benchmarks, but at least we get useful stacktraces
by default.
2025-09-24 13:12:50 -06:00
Behdad Esfahbod 52eb959535 [rust] Don't use panic_immediate_abort (#5585)
It has changed. Use optimize_for_size which seems to have the
same size reduction effect.

Fixes https://github.com/harfbuzz/harfbuzz/issues/5584
2025-09-23 22:22:56 -06:00
Behdad Esfahbod 74c318610d [rust] Update to HarfRust 0.3.0 (#5548) 2025-09-12 13:31:29 -06:00
Behdad Esfahbod d94851e56d [rust] Use inherited codegen-units=1 in debugoptimized build
It makes significant (30% in Nastaliq benchmark) difference.
2025-09-03 11:52:51 -06:00
Behdad Esfahbod 01072c5c37 [harfrust] Require 0.2.0 2025-08-29 13:19:59 -06:00
Behdad Esfahbod 5fddacc158 [harfrust] Set buffer pre/post-context (#5492)
* [harfrust] Set buffer pre/post-context

Fixes the failing item-context tests. Yay.

* Bump MSRV
2025-08-21 12:54:49 -06:00
Behdad Esfahbod 00492ec7df [harfrust] Pin to 0.1.2 for relase 2025-08-20 13:48:11 -06:00
Behdad Esfahbod bbc2e0d0b5 [harfrust] Scale using int64 instead of float (#5461)
Like hb-font.hh does.
2025-08-14 16:12:59 -06:00
Behdad Esfahbod 354c6a17b8 [harfrust] Remove one function call (#5460)
lol. That's how desperate we are now.
2025-08-14 16:01:44 -06:00
Behdad Esfahbod 75044854a8 [harfrust] Update to latest API 2025-08-14 11:24:19 -06:00
Behdad Esfahbod 53cd214e83 [harfrust] Use buffer.ensure() (#5459) 2025-08-14 10:24:21 -06:00
Behdad Esfahbod 8ebdb9f75c [harfrust] Cache Shaper object (#5454) 2025-08-13 17:39:30 -06:00
Behdad Esfahbod 1e8a554eaa Hr buffer cache (#5452)
* [harfrust] Rename a variable

* [harfrust] Cache HR buffer on HB buffer
2025-08-11 19:27:32 -06:00
Behdad Esfahbod 1a2337d550 [rust] Require HarfRust 0.1.* 2025-08-11 12:53:03 -06:00
Behdad Esfahbod ef5c3d59fd [rust] Oops 2025-08-10 01:27:41 -06:00
Behdad Esfahbod 940604b2bc [gsubgpos] Micro improvement of (Chain)ContextFormat2 classdef cache 2025-08-10 01:25:13 -06:00
Behdad Esfahbod b3258808b9 [rust] Remove Cargo.lock
As per recommendations. I hope this is what they meant.
2025-07-23 20:06:19 -06:00
Behdad Esfahbod 8991fa7a89 [rust] Roll forward
Give clippy more time.
2025-07-20 18:12:39 -06:00
Behdad Esfahbod d47a319b82 [rust] Roll deps forward
Adjust tests. See:

https://github.com/harfbuzz/harfbuzz/issues/5388
2025-07-15 12:08:00 -06:00
Behdad Esfahbod 57f02dd237 [fontations] Cache glyph_from_names hashmap on the face
Fixes https://github.com/harfbuzz/harfbuzz/issues/5384
2025-07-11 23:40:51 -06:00
Behdad Esfahbod e970f7028c [harfruzz] Round towards negative infinity 2025-06-13 18:21:27 -06:00
Behdad Esfahbod 2617e89df1 [rust] Finish renaming HarfRuzz to HarfRust 2025-06-11 15:52:47 -06:00
Behdad Esfahbod c936b22937 [rust] Update to HarfRuzz->HarfRust rename 2025-06-10 08:22:47 -06:00
Behdad Esfahbod dcf50ca6fe [rust] Roll forward 2025-06-10 03:10:06 -06:00
Behdad Esfahbod e860b8d180 [harfruzz] Set point_size 2025-06-07 11:26:00 -06:00
Behdad Esfahbod e5becebf2c [harfRuzz] Roll forward 2025-06-06 21:02:07 -06:00
Behdad Esfahbod d5dd5ac819 [harfruzz] Clear mask before setting 2025-06-06 18:29:40 -06:00
Behdad Esfahbod 4ab5130e4a [harfruzz] More glyph flags 2025-06-06 18:16:31 -06:00
Behdad Esfahbod 74e99dbe63 [harfruzz] Apply review feedback 2025-06-06 18:15:20 -06:00
Behdad Esfahbod 80b73a1109 [harfruzz] Track main again 2025-06-06 18:13:05 -06:00
Behdad Esfahbod e670b729f7 [harfruzz] Enable new cluster level GRAPHEMES 2025-06-06 18:12:27 -06:00
Behdad Esfahbod f92809fcdc [harfruzz] Update to new API
From https://github.com/harfbuzz/harfruzz/pull/57
2025-06-06 17:43:32 -06:00
Behdad Esfahbod 83cf7d109f [rust] cargo update 2025-05-27 07:43:55 -06:00
Behdad Esfahbod 7357f6e559 [rust] Update deps 2025-05-20 15:19:13 -06:00
Behdad Esfahbod 45a22dfcb8 [rust] Fix newer clippy fix 2025-05-17 11:27:26 -07:00
Behdad Esfahbod 08b52ae2e4 [rust] Roll dependencies 2025-05-13 14:13:55 -06:00
Behdad Esfahbod b0666e2609 Revert "[unicode] Remove a few lines of cruft"
This reverts commit d978c4b50a.

Ouch!
2025-05-12 23:11:21 -06:00
Behdad Esfahbod d978c4b50a [unicode] Remove a few lines of cruft 2025-05-12 23:08:58 -06:00
Behdad Esfahbod 01de51b2f2 [rust] cargo update 2025-05-08 13:32:45 -06:00
Behdad Esfahbod 593503c5e6 [fontations] More idiomatic 2025-05-08 00:52:36 -06:00
Behdad Esfahbod 98029e2482 [fontations] Deal with font creation errors 2025-05-08 00:49:50 -06:00
Behdad Esfahbod e4a6fe1e5f [harfruzz] Handle empty face blob
Happens...
2025-05-07 23:27:45 -06:00
Behdad Esfahbod 26603305e1 [rust] Make -Dbuildtype=debug work 2025-05-07 22:47:49 -06:00
Behdad Esfahbod d7550eb9b9 [harfruzz] Handle null language 2025-05-07 22:39:44 -06:00
Behdad Esfahbod c18c18a75d [harfruzz] Switch back to git version
Remove font-types dependency.
2025-05-07 21:57:16 -06:00
Behdad Esfahbod 43218e45f7 [harfruzz] Conditionally set hr_buffer.set_not_found_variation_selector_glyph
harfRuzz doesn't take -1 to mean "whatever".
2025-05-07 19:02:04 -06:00
Behdad Esfahbod 22ef57bddc [harfruzz] Isolate font-types dependency 2025-05-07 18:53:57 -06:00
Behdad Esfahbod 7f682a074e [fontations] Remove read-fonts direct dependency 2025-05-07 18:51:22 -06:00