mirror of
https://github.com/storytold/figcraft.git
synced 2026-10-30 13:26:54 -06:00
A missing family the suite's font store has (Google Fonts, Noto) gets a Download button. The first one asks the user to allow downloading fonts, then craft-libs' craft-font-store installs pinned, checksum-verified files into the Craft apps' shared font folder on a thread of its own. The font scan reads that folder; once installed the text fits the real font. font.download / font.downloads drive the store as its agent: refused while downloading is off, never able to turn it on. Desktop only.
46 lines
1.6 KiB
TOML
46 lines
1.6 KiB
TOML
[package]
|
|
name = "figcraft-engine"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
description = "FigCraft engine: sessions, undo history, the command registry every surface (UI, CLI, control channel, MCP) dispatches through, pointer tools, components and the Figma menu catalog"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
figcraft-geom = { workspace = true }
|
|
figcraft-color = { workspace = true }
|
|
figcraft-doc = { workspace = true }
|
|
figcraft-collab = { workspace = true }
|
|
figcraft-layout = { workspace = true }
|
|
figcraft-text = { workspace = true }
|
|
figcraft-pathops = { workspace = true }
|
|
figcraft-render = { workspace = true }
|
|
figcraft-format = { workspace = true }
|
|
figcraft-svg = { workspace = true }
|
|
figcraft-pdf = { workspace = true }
|
|
figcraft-vectordrawable = { workspace = true }
|
|
craft-docpath = { workspace = true }
|
|
figcraft-plugin = { workspace = true }
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
log = { workspace = true }
|
|
base64 = { workspace = true }
|
|
regex = { workspace = true }
|
|
deunicode = { workspace = true }
|
|
same-file = { workspace = true }
|
|
web-time = "1.1.0"
|
|
|
|
# Downloading a missing font (desktop only; the web keeps its built-in fonts). The bundled index
|
|
# (~620 KB) lets the Missing fonts window tell which fonts can be downloaded without a request.
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
craft-font-store = { workspace = true, features = ["bundled-index"] }
|
|
craft-font-catalog = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
zip = { workspace = true }
|
|
wat = { workspace = true }
|
|
image = { workspace = true }
|