Commit Graph
18846 Commits
Author SHA1 Message Date
Behdad Esfahbod 0979e15050 [gsubgpos] Set matcher_t fields directly 2025-05-10 16:58:43 -06:00
Behdad Esfahbod 4abcf104aa [gsubgpos] Simplify per_syllable 2025-05-10 16:55:09 -06:00
Behdad Esfahbod fe3e0b29c2 [gsubgpos] Move matcher_t / skipping_iterator_t out of apply_context_t 2025-05-10 16:42:10 -06:00
Behdad Esfahbod 89e28a2381 [skippy-iter] Use auto for type deduction 2025-05-10 16:30:35 -06:00
Behdad Esfahbod 7ebac5b994 Cosmetic 2025-05-10 15:09:07 -06:00
Behdad Esfahbod 604056056c [test/shape] Move LucidaGrande test to macos.tests 2025-05-09 23:17:35 -06:00
Behdad Esfahbod d3c70d7fc8 [directwrite] Return 0 advance for out-of-range gids
Fixes https://github.com/harfbuzz/harfbuzz/issues/5319
2025-05-08 14:30:07 -06:00
Behdad Esfahbod 01de51b2f2 [rust] cargo update 2025-05-08 13:32:45 -06:00
Behdad Esfahbod 905e8b6bdd [buffer] Fix set_glyph_flags condition
Follow up to https://github.com/harfbuzz/harfbuzz/pull/5315
2025-05-08 13:24:12 -06:00
Khaled Hosny 81c9352162 Minor 2025-05-08 17:38:51 +03:00
David Corbett 7dfbe50dfa [USE] Update the data files
This uses the data files from
<https://github.com/microsoft/font-tools/tree/0c68344234bc5ff9e8575c417a315070a5943968/USE>.
2025-05-08 16:03:02 +03:00
Khaled Hosny 1b2718d60e Minor 2025-05-08 15:31:21 +03: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
Behdad Esfahbod 2e9b431501 [harfruzz] Clear buffer before populating results 2025-05-07 17:06:04 -06:00
Behdad Esfahbod bb31aac07b [harfruzz] Set unsafe-to-break flag 2025-05-07 16:59:03 -06:00
Behdad Esfahbod 19a5d1aabd [test/shape] Only do unsafe-to-concat check for ot shaper
For now, to get harfRuzz testing going better.
2025-05-07 16:57:19 -06:00
Behdad Esfahbod 089e73a764 [buffer] Allow unsafe_to_break() whole buffer to succeed
Fixes https://github.com/harfbuzz/harfbuzz/pull/5315
2025-05-07 16:11:37 -06:00
Behdad Esfahbod 2f7fbeeea2 [test/shape] Allow specifying shaper / face-loader as env-vars 2025-05-07 13:42:56 -06:00
Behdad Esfahbod 01b7e2ec80 [rust] Request HarfRuzz 0.1 2025-05-07 11:29:14 -06:00
Behdad Esfahbod a7d8c9bf05 Merge pull request #5312 from harfbuzz/harfruzz
Add HarfRuzz shaper
2025-05-07 11:27:52 -06:00
Behdad Esfahbod 92f367ced3 [rust] Apply review feedback 2025-05-07 11:10:40 -06:00
Behdad Esfahbod 75588f5b2f [rust] Apply ChatGPT feedback 2025-05-07 11:07:07 -06:00
Behdad Esfahbod 302b6c8954 [harfruzz] Handle font creation failure 2025-05-06 16:30:47 -06:00
Behdad Esfahbod 21a67df4c9 [run-tests.py] Clean up file descriptors 2025-05-06 15:42:48 -06:00
Behdad Esfahbod 05d7518a39 [harfruzz] Cache shape-plan
Doesn't seem to speed up benchmark though.
2025-05-06 12:51:23 -06:00
Behdad Esfahbod 3268662bde [harfruzz] Towards shape-plan caching 2025-05-06 12:43:08 -06:00
Behdad Esfahbod 5c7992bea6 [harfruzz] Implement user features 2025-05-06 12:13:11 -06:00
Behdad Esfahbod d185d1c861 [harfruzz] Set variations 2025-05-06 12:09:00 -06:00
Behdad Esfahbod 154e528e57 [harfruzz] Separate font-data
In prep to adding variation coordinates.
2025-05-06 11:39:00 -06:00
Khaled Hosny 6f86001e0c [ci/configs] Add HB_NO_DRAW and HB_NO_PAINT 2025-05-06 20:17:30 +03:00
Khaled Hosny d89e90e8e3 [ci/configs] Make the build more useful by linking as well
Catches missing symbol issues.
2025-05-06 20:17:30 +03:00
Khaled Hosny 67bb0184a1 [ci/configs] Convert to a build matrix 2025-05-06 20:17:30 +03:00
Behdad Esfahbod 1a67f0a476 [harfbuzz] Minor use 2025-05-06 11:14:18 -06:00
Behdad Esfahbod 40ec1981ac [harfruzz] Set buffer properties 2025-05-06 11:12:47 -06:00
Behdad Esfahbod 99d1a4832d [harfruzz] Tighten check-symbols 2025-05-06 11:03:56 -06:00
Behdad Esfahbod e71bcaa873 [harfrbuzz] s/harfRuzz/HarfRuzz/g 2025-05-06 10:54:16 -06:00
Behdad Esfahbod 8fa6c9a39e [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.
2025-05-06 10:38:47 -06:00
Behdad Esfahbod 790506ef51 [harfruzz] Handle buffer allocation failure 2025-05-06 10:38:47 -06:00
Behdad Esfahbod a78d2f27ab [harfruzz] Cache Face 2025-05-06 10:38:47 -06:00
Behdad Esfahbod b50b5a0db1 [harfruzz] Scale, and set segment properties 2025-05-06 10:38:47 -06:00
Behdad Esfahbod 4e98288a72 [harfruzz] Remove stale comment 2025-05-06 10:38:47 -06:00
Behdad Esfahbod cc5b19a435 [harfruzz] Ignore public symbols
I don't know how to hide these from the Rust side.
2025-05-06 10:38:47 -06:00