7 Commits
Author SHA1 Message Date
kulveersingh 83c36c84d3 Fonts: Noto Sans for nine Indian scripts (#21)
Noto Sans Devanagari, Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu,
Kannada and Malayalam (variable: wdth, wght), byte-identical to
google/fonts at bd8f81d (ofl/notosans*), under the OFL 1.1, for Indian-
language interface and document text: the web builds' faces for these
scripts (~5 MB together) and a last-resort fallback on desktop. Manifest
lines (Deva, Beng, Guru, Gujr, Orya, Taml, Telu, Knda, Mlym), attribution
and README rows, an integration note, and a coverage test per script
(every letter, vowel sign and digit of the block, danda).
2026-11-11 12:04:41 -05:00
skylartaylor 37827adc41 Restore the Latin font catalog alongside migration fallbacks 2026-10-25 05:08:29 +01:00
skylartaylor b076417b58 Add verified Devanagari fallback for Hindi UI text 2026-10-24 04:22:13 +02:00
skylartaylor b4ce3ee090 Add reviewed fallback fonts and optional native Chinese face 2026-10-24 03:49:41 +02:00
Brandon ThomasandClaude Opus 5.5 d02c123b94 integration.md: CRAFT_FONTS_DIR must be absolute (build scripts run in the crate dir)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-06 14:11:22 -04:00
Brandon ThomasandClaude Opus 5.5 abbfddb426 integration.md: embed only the UI font in web (wasm32) builds
All four fonts are ~24 MB, over typical per-file hosting limits (Cloudflare
25 MiB); the recipe now embeds only BIZ UDPGothic Regular on wasm32.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-06 10:11:59 -04:00
Brandon ThomasandClaude Opus 5.5 8d3f92be2e Japanese fonts, the manifest, a Rust workspace and font tests
fonts/: Shippori Mincho Regular, BIZ UDPGothic Regular and Bold, BIZ
UDMincho Regular, each byte-identical to its pinned upstream source, with
its OFL licence (the copies previously bundled separately in DesignCraft,
PrintCraft, VectorCraft and LightCraft). fonts/manifest.txt lists them
with checksums.

crates/craft-fonts: the manifest as a static table, CRAFT_FONTS_DIR
discovery, loading, and an embed feature. crates/craft-fonts-tests:
checksums, licences, family names, Japanese coverage and outlines, and
vert/vrt2 vertical-text support. docs/integration.md: how apps use it as a
fully optional build input (CRAFT_FONTS_DIR read by build.rs; never a Cargo
dependency, because Cargo resolves even optional git dependencies).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-06 10:01:40 -04:00