mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
The web interface font stack fetches its craft-fonts faces from the `fonts/ui/` URLs in SERVED_FONTS, but only crates/text/build.rs's OUT_DIR held those files: the Trunk hook copied the `fonts/<sha16>/` faces alone. On a built site every served interface face (Noto Sans Arabic, Thai and Georgian, NanumGothic, Noto Sans Devanagari) failed to load, and the interface drew those scripts as missing-glyph boxes. `cargo xtask web-fonts` now also publishes the `startup` and `demand` faces of crates/text/web-fonts.txt under `fonts/ui/`, licence beside each, with the same craft-fonts-build `Embed::serve` that build.rs uses, so the files match the table's URLs and integrity values. Test: publishes_the_interface_faces_at_their_served_urls. Fixes #10567.