src/rust/shape.rs


Log

Author Commit Date CI Message
Behdad Esfahbod 5fddacc1 2025-08-21T12:54:49 [harfrust] Set buffer pre/post-context (#5492) * [harfrust] Set buffer pre/post-context Fixes the failing item-context tests. Yay. * Bump MSRV
Behdad Esfahbod bbc2e0d0 2025-08-14T16:12:59 [harfrust] Scale using int64 instead of float (#5461) Like hb-font.hh does.
Behdad Esfahbod 354c6a17 2025-08-14T16:01:44 [harfrust] Remove one function call (#5460) lol. That's how desperate we are now.
Behdad Esfahbod 75044854 2025-08-14T11:24:19 [harfrust] Update to latest API
Behdad Esfahbod 53cd214e 2025-08-14T10:24:21 [harfrust] Use buffer.ensure() (#5459)
Behdad Esfahbod 8ebdb9f7 2025-08-13T17:39:30 [harfrust] Cache Shaper object (#5454)
Behdad Esfahbod 1e8a554e 2025-08-11T19:27:32 Hr buffer cache (#5452) * [harfrust] Rename a variable * [harfrust] Cache HR buffer on HB buffer
Behdad Esfahbod e970f702 2025-06-13T17:51:24 [harfruzz] Round towards negative infinity
Behdad Esfahbod 2617e89d 2025-06-11T15:52:47 [rust] Finish renaming HarfRuzz to HarfRust
Behdad Esfahbod c936b229 2025-06-10T08:22:47 [rust] Update to HarfRuzz->HarfRust rename
Behdad Esfahbod e860b8d1 2025-06-07T04:33:27 [harfruzz] Set point_size
Behdad Esfahbod d5dd5ac8 2025-06-06T18:29:40 [harfruzz] Clear mask before setting
Behdad Esfahbod 4ab5130e 2025-06-06T18:16:31 [harfruzz] More glyph flags
Behdad Esfahbod 74e99dbe 2025-06-06T18:15:20 [harfruzz] Apply review feedback
Behdad Esfahbod e670b729 2025-06-06T18:12:04 [harfruzz] Enable new cluster level GRAPHEMES
Behdad Esfahbod f92809fc 2025-06-06T17:05:22 [harfruzz] Update to new API From https://github.com/harfbuzz/harfruzz/pull/57
Behdad Esfahbod e4a6fe1e 2025-05-07T23:27:45 [harfruzz] Handle empty face blob Happens...
Behdad Esfahbod d7550eb9 2025-05-07T22:39:44 [harfruzz] Handle null language
Behdad Esfahbod c18c18a7 2025-05-07T21:57:16 [harfruzz] Switch back to git version Remove font-types dependency.
Behdad Esfahbod 43218e45 2025-05-07T19:02:04 [harfruzz] Conditionally set hr_buffer.set_not_found_variation_selector_glyph harfRuzz doesn't take -1 to mean "whatever".
Behdad Esfahbod 22ef57bd 2025-05-07T18:53:57 [harfruzz] Isolate font-types dependency
Behdad Esfahbod 2e9b4315 2025-05-07T17:06:04 [harfruzz] Clear buffer before populating results
Behdad Esfahbod bb31aac0 2025-05-07T16:59:03 [harfruzz] Set unsafe-to-break flag
Behdad Esfahbod 92f367ce 2025-05-07T11:09:02 [rust] Apply review feedback
Behdad Esfahbod 75588f5b 2025-05-07T11:07:07 [rust] Apply ChatGPT feedback
Behdad Esfahbod 302b6c89 2025-05-06T16:30:47 [harfruzz] Handle font creation failure
Behdad Esfahbod 3268662b 2025-05-06T12:43:08 [harfruzz] Towards shape-plan caching
Behdad Esfahbod 5c7992be 2025-05-06T12:12:42 [harfruzz] Implement user features
Behdad Esfahbod d185d1c8 2025-05-06T12:08:07 [harfruzz] Set variations
Behdad Esfahbod 154e528e 2025-05-06T11:39:00 [harfruzz] Separate font-data In prep to adding variation coordinates.
Behdad Esfahbod 1a67f0a4 2025-05-06T11:14:18 [harfbuzz] Minor use
Behdad Esfahbod 40ec1981 2025-05-06T11:12:19 [harfruzz] Set buffer properties
Behdad Esfahbod e71bcaa8 2025-05-06T10:54:16 [harfrbuzz] s/harfRuzz/HarfRuzz/g
Behdad Esfahbod 8fa6c9a3 2025-05-05T22:18:36 [harfruzz] Fix lifecycle management In the ugliest way. I'll wait for someone familiar with Rust to suggest proper way to do it. We don't cache the shape-plan, so this is much slower than the HarfBuzz native shaper.
Behdad Esfahbod 790506ef 2025-05-05T22:02:48 [harfruzz] Handle buffer allocation failure
Behdad Esfahbod a78d2f27 2025-05-05T18:32:02 [harfruzz] Cache Face
Behdad Esfahbod b50b5a0d 2025-05-05T18:26:20 [harfruzz] Scale, and set segment properties
Behdad Esfahbod 4e98288a 2025-05-05T18:02:48 [harfruzz] Remove stale comment
Behdad Esfahbod c25fddba 2025-05-05T15:50:16 [harfruzz] Add basic harfRuzz shaper