6 Commits
Author SHA1 Message Date
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
2026-10-06 10:01:40 -04:00