mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 02:35:37 +01:00
crates/text/web-fonts.txt listed 30 background faces (Cairo, Tajawal, Almarai, IBM Plex Sans Arabic, Noto Kufi Arabic, Amiri, Alexandria, Fustat, Reem Kufi, Aref Ruqaa and Gulzar) that craft-fonts does not have yet; they are added by storytold/craft-fonts#11 and #13, which are still open. Every build with CRAFT_FONTS_DIR printed "web build won't fetch: Cairo Regular, Tajawal ExtraLight, ..." from crates/text/build.rs and xtask/src/web_fonts.rs, and the web build fetched none of them. The rows are removed. The startup and demand faces stay. The rows go back in when craft-fonts #11 and #13 merge.
13 lines
785 B
Plaintext
13 lines
785 B
Plaintext
# Craft-fonts faces the web (wasm32) build fetches from beside the wasm instead of embedding.
|
|
# One face per line: when | family | style (family and style as in craft-fonts' fonts/manifest.txt).
|
|
# startup = fetched before the app starts (fallbacks the first frame needs)
|
|
# background = fetched after the app starts (fonts users pick by name)
|
|
# demand = fetched only when the interface language or the interface's own text needs one of
|
|
# the face's scripts (Korean, Hindi)
|
|
# Read by build.rs (the WEB_FONTS table) and `cargo xtask web-fonts` (copies the files, a Trunk hook).
|
|
startup | Noto Sans Arabic | Regular
|
|
startup | Noto Sans Thai | Regular
|
|
startup | Noto Sans Georgian | Regular
|
|
demand | NanumGothic | Regular
|
|
demand | Noto Sans Devanagari | Regular
|