Files
gridcraft/.github/workflows
kulveersingh bc3aab900f fonts: embed craft-fonts' Indian-script faces; the web build draws Indian text
ui-egui's build.rs reads the optional craft-fonts input (CRAFT_FONTS_DIR,
per craft-fonts' docs/integration.md) and embeds the Noto Sans faces for
the nine Indian scripts (Deva, Beng, Guru, Gujr, Orya, Taml, Telu, Knda,
Mlym; ~5 MB) on every target. The theme appends them after the system
faces, so desktop rendering is unchanged where a system face exists and
the web build, which has no system fonts, draws and shapes Indian text.
Language::script() names each interface's script; the web build follows
the browser's language when the build can render it.

CI checks the embedded faces against a pinned craft-fonts commit (the
Noto Sans Indian faces, storytold/craft-fonts#21): they draw and shape
every script with no system face, and the web build compiles with them.
FreeBSD and release workflows pin the same commit. A plain build is
unchanged (empty table, same tests pass).
2026-10-12 02:08:04 -04:00
..