mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-30 04:58:34 -06:00
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:
co-authored by
Claude Opus 5.5
parent
7b85af8785
commit
73fdb261ef
Generated
+1
@@ -4088,6 +4088,7 @@ dependencies = [
|
||||
"png 0.18.1",
|
||||
"printcraft-cos",
|
||||
"printcraft-engine",
|
||||
"printcraft-fonts",
|
||||
"printcraft-model",
|
||||
"printcraft-render",
|
||||
"rfd",
|
||||
|
||||
Reference in New Issue
Block a user