Nirmala UI draws Tamil கொ as one ligature rather than the vowel sign on
both sides of க, which is also shaped. The test now fails only when the
text comes out one glyph per code point. localization-parity.md lists
the Indian-script fallback faces and no longer says Devanagari is
unshaped.
Fixes#4131.
Co-authored-by: kulveersingh <kulveer.singh@gmail.com>
Gujarati, Hindi (Devanagari) and the other Indian scripts showed as empty
boxes in cells and the interface: the default fonts (Calibri, Arial) have
no glyphs for them and the fallback chain had no Indian-script face.
Adds one fallback entry per script, probing the system's own fonts:
Nirmala UI and the per-script faces on Windows, Kohinoor, Noto and
Sangam MN on macOS (the Regular face inside each collection), Noto Sans
or Lohit on Linux and the BSDs, including Fedora's variable Noto faces
and a Flatpak's host font mounts. Nothing is bundled.
From storytold/gridcraft#581 (17328a73d, 789311da8), ported to the
theme/font_fallback.rs layout on main.
Re-fold the stored base of every checklist identity with the Unicode case key
before comparing, so an identity saved with ASCII-only folding selects all rows
of the dropdown entry that now merges the case variants, and reapplying the
unchanged checklist keeps the same rows (#2912).
Identities saved before the Unicode case key encode non-ASCII uppercase text
with ASCII-only folding. Accept that legacy base key when matching rows and
when deciding whether a selection splits formula and constant rows, so a saved
selection keeps its rows visible and its dropdown entry checked (#2912).
Resolve the conflict with the checklist-identity matcher from #2943: apply the
char-wise Unicode lowercase key to the value-list lookup and to the typed and
formatted checklist identity tokens, so case variants share one dropdown entry
and match rows consistently. Update the two dropdown tests accordingly.
The test built its JSON with serde_json directly. It now saves with
io::save_bytes and opens with io::open_bytes, the craft-gridcraft-format
writer and reader main uses, empties the sheet list in between, and
gives the workbook a macro. One open then checks that the zero-sheet
reset carries both the text defaults and the macros. It fails when the
reset drops the text defaults.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main now reads GridCraft JSON through craft_gridcraft_format::read. That
reader deserialises the model with its own serde rules, so text_defaults
loads as before; the zero-sheet reset keeps carrying the macros and the
text defaults across.
Conflicts:
- crates/model/src/lib.rs: the re-export list takes both main's RefHost
and WriteReservation and this branch's ScriptDefault and TextDefaults.
- docs/file-format-parity.md: main's header and history, with this
branch's 2026-11-14 row placed among main's 2026-11-14 rows and its
summary added to the header's "earlier" list in the same place.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>