Files
harfbuzz/test/shape/data
Behdad Esfahbod 0e6a9c81f0 [indic] Fix Unicode 18 shaping and Rust table generation (#6544)
* [indic] Include Unicode 18 Devanagari and Bengali additions

The block filter discarded U+11B0A even though the Unicode 18 data
classifies it as a consonant. Following marks therefore formed broken
syllables and received unwanted dotted circles. The same omission
excluded Bengali Supplement's U+11DF0 and U+11DF1.

Include both blocks and regenerate the Indic table. These three code
points are the only effective classification changes. Add nine shaping
cases using the existing Adobe Blank font, including a valid-syllable
control and an isolated anusvara that needs a dotted circle.

Eight new cases fail before the fix. All 275 Meson tests pass after it,
including the full shaping suite.

Fixes: https://github.com/harfbuzz/harfbuzz/issues/6452
Assisted-by: OpenAI Codex

* [gen] Preserve current Rust vowel-constraint buffer access

The shared generator still emitted direct field access through
buffer.cur(), which now returns Option in HarfRust. Regenerating the
file also lost its checked access to output glyph information.

Emit the cur_glyph helper and guarded output lookup already used by
the checked-in Rust implementation. The regenerated Rust functions
match HarfRust after its import adaptations, and the C++ output is
byte-for-byte unchanged.

All 275 Meson tests pass. HarfRust's default and all-feature workspace
tests pass with the regenerated functions.

Assisted-by: OpenAI Codex

* [test] Keep Unicode 18 Indic cases in a dedicated shaping file

Group the new cases in indic-unicode18.tests so HarfRust can import
these generated tests without replacing existing Indic regressions.
Register the file in the in-house shaping suite.

All 275 Meson tests pass.

Assisted-by: OpenAI Codex

* [gen] Emit HarfRust names directly from the shared generators

Generate the Rust module paths, type names, and table symbol prefixes
used by HarfRust at their source. This removes the need for text
rewrites in HarfRust's Unicode-table makefile.

All eight Rust outputs are byte-for-byte identical to the previous
postprocessed outputs. All seven C/C++ generator outputs are
byte-for-byte unchanged, and all 275 Meson tests pass.

Assisted-by: OpenAI Codex
2026-11-01 19:14:23 -07:00
..