figcraft/crates/text
Jeremy Yao f7e726714a
fix(text): don't rebuild every time a craft-fonts manifest is missing (#228)
crates/text/build.rs asked cargo to watch both craft-fonts manifests
whether or not they existed. Cargo takes a watched path that doesn't
exist as changed, so figcraft-text and every crate above it were rebuilt
on every build: with no craft-fonts checkout, and also with a checkout
of craft-fonts' main branch, which has no fonts/latin-manifest.txt.

Watch a manifest only when it exists, and its folder while it is
missing, so a manifest added later is still noticed. With no checkout
at all there is nothing to watch; the build warning and the README now
say how to pick one up after a first build.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 09:30:03 +07:00
..
src M3: text metrics: whole-pixel line heights, advances on a 1024-per-em grid, letter spacing between glyphs only 2026-10-12 17:54:18 +07:00
Cargo.toml M4: text behaviour suite: metrics, line height, CJK (#134) 2026-10-11 22:09:46 +07:00
build.rs fix(text): don't rebuild every time a craft-fonts manifest is missing (#228) 2026-10-14 09:30:03 +07:00