From ffecf35cd447dddaba9c1dcb5ea52d70a3cb1e33 Mon Sep 17 00:00:00 2001 From: FredApps <153173854+FredApps@users.noreply.github.com> Date: Sat, 28 Nov 2026 21:12:38 +0100 Subject: [PATCH] Point CRAFT_FONTS_DIR at ../craft-fonts in .cargo/config.toml (#3301) A plain local build embeds no craft-fonts unless CRAFT_FONTS_DIR is passed by hand. The entry mirrors deckcraft and pdfcraft; an environment value still wins and a missing checkout builds as before. Co-authored-by: Fredrik Hallin Co-authored-by: Claude Sonnet 5.5 --- .cargo/config.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 35049cbcb..9c41044f8 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,7 @@ +# Local builds pick up the optional craft-fonts checkout next to this repo (Inter etc.). When the +# directory is missing the build warns and carries on with egui's bundled fonts and system fonts. +[env] +CRAFT_FONTS_DIR = { value = "../craft-fonts", relative = true } + [alias] xtask = "run --package xtask --"