Build 57: Pay puck uses a Noto Sans JP ツ instead of Gamja Flower

Owner disliked the Gamja Flower ツ style on the center Pay puck. Replace it with
Noto Sans JP's cleaner, more geometric katakana tsu — subset to ONLY that one
glyph (~1.7 KB) the same way the old one was, loaded as the "noto-tsu" family and
drawn at the puck (mod.rs). Drop the now-unused Gamja Flower font + its license.
This commit is contained in:
2ro
2026-06-13 21:45:56 -04:00
parent de7007269f
commit 6ce70aee7e
5 changed files with 9 additions and 102 deletions
+2 -2
View File
@@ -446,8 +446,8 @@ impl GoblinWalletView {
rect.center(),
egui::Align2::CENTER_CENTER,
w::TSU,
// Gamja Flower's ツ — the cute smiley shape — only here.
FontId::new(31.0, egui::FontFamily::Name("gamja-tsu".into())),
// Noto Sans JP's clean ツ — the Pay puck mark, only here.
FontId::new(31.0, egui::FontFamily::Name("noto-tsu".into())),
t.accent_ink,
);
}
+7 -7
View File
@@ -249,11 +249,11 @@ pub fn setup_fonts(ctx: &Context) {
),
),
);
// Gamja Flower subset — ONLY the ツ glyph (1.2 KB), used for the friendlier
// smiley-style ツ on the center Pay puck. Referenced solely at that widget.
// Noto Sans JP subset — ONLY the ツ glyph (~1.7 KB), the mark on the center
// Pay puck. A clean, geometric katakana tsu; referenced solely at that widget.
fonts.font_data.insert(
"gamja-tsu".to_owned(),
plain(include_bytes!("../fonts/GamjaFlowerTsu.ttf")),
"noto-tsu".to_owned(),
plain(include_bytes!("../fonts/NotoSansJpTsu.otf")),
);
// Default proportional stack: Geist first, icons and CJK/ツ as fallback.
@@ -282,12 +282,12 @@ pub fn setup_fonts(ctx: &Context) {
vec![name.to_owned(), "phosphor".to_owned(), "noto".to_owned()],
);
}
// Gamja ツ family: the subset first, then the normal fallbacks so anything
// Puck ツ family: the subset first, then the normal fallbacks so anything
// other than ツ still renders (the puck only ever draws ツ with it).
fonts.families.insert(
egui::FontFamily::Name("gamja-tsu".into()),
egui::FontFamily::Name("noto-tsu".into()),
vec![
"gamja-tsu".to_owned(),
"noto-tsu".to_owned(),
"geist-bold".to_owned(),
"noto".to_owned(),
],