Files
lightcraft/.github/workflows
helgehelge123andClaude Opus 5.5 7eece8e81e LR-BEHAV-LOCALIZE: Hebrew file and folder names get glyphs (#1915)
Hebrew folder and file names drew as boxes: no face in the UI fallback
chain (Inter, egui's default faces, the craft-fonts faces) has Hebrew
letters. theme::font_definitions already falls back on every craft-fonts
face of a non-CJK script, so the glyphs come from Noto Sans Hebrew, added
to craft-fonts in storytold/craft-fonts#12:

- Pin craft-fonts to 1466a88, the head of that PR (release and FreeBSD
  workflows, flake.nix/flake.lock, local packaging scripts). Re-pin to its
  merge commit once it lands.
- CRAFT_FONTS_REQUIRED rejects a font input without Noto Sans Hebrew
  Regular, so a release can't ship boxes with an older pin.
- The web build embeds Noto Sans Hebrew Regular (~65 KiB) next to Noto
  Sans Thai, for Hebrew file and folder names in every UI language.
- The Thai folder-name test becomes a helper; a Hebrew test (letters,
  final forms, maqaf, geresh, gershayim, niqqud) runs it through every UI
  family, and the engine checks that the shipped face draws Hebrew and the
  shekel sign. They fail with a craft-fonts input without Hebrew and skip
  without CRAFT_FONTS_DIR. The egui check leaves out the shekel sign: Inter
  and Hack draw it before the Hebrew face, and in monospace Hack also holds
  the replacement glyph, where egui 0.36's has_glyph answers false
  (resolve_face(c) == replacement face) although the sign draws.

Reading direction, measured on the laid-out galley: egui 0.36 shapes
each run of one face with harfrust, which orders a Hebrew run right to
left, so each word reads correctly. Nothing reorders the runs, and the
space between words comes from Inter, so a multi-word name shows its
words in logical order, left to right (documented in
docs/localization-parity.md and docs/web.md).

Part of #1915.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 07:32:13 +02:00
..