UI: share the Japanese fallback font with printcraft-fonts (one 8.7 MB copy, not two)

The UI theme include_bytes!'d ShipporiMincho-Regular.ttf, which
printcraft-fonts already embeds as SHIPPORI_MINCHO for Japanese text in
PDFs, so the app carried two copies. ui-egui now depends on printcraft-fonts
(layer 2, wasm-clean) and uses its static. The desktop app binary drops from
85.8 MB to 77.5 MB (debug build; one copy of the font left, counted).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas
2026-10-05 18:03:34 -04:00
co-authored by Claude Opus 5.5
parent 7b85af8785
commit 73fdb261ef
3 changed files with 4 additions and 1 deletions
Generated
+1
View File
@@ -4088,6 +4088,7 @@ dependencies = [
"png 0.18.1",
"printcraft-cos",
"printcraft-engine",
"printcraft-fonts",
"printcraft-model",
"printcraft-render",
"rfd",