diff --git a/README.md b/README.md index 97658ba..180d720 100644 --- a/README.md +++ b/README.md @@ -38,3 +38,7 @@ More information here: https://bevy-cheatbook.github.io/setup/cross/linux-window - https://pixabay.com/sound-effects/click-button-140881 - https://pixabay.com/sound-effects/data-transmission-sound-from-14664-72309 - https://pixabay.com/sound-effects/thrusters-loopwav-14699 +- Custom font Yupiter is based on: + - Noto Sans Symbols 2, Copyright 2022 The Noto Project Authors (https://github.com/notofonts/symbols) + - ZCOOL QingKe HuangYou, Copyright 2018 The ZCOOL QingKe HuangYou Project Authors (https://www.github.com/googlefonts/zcool-qingke-huangyou) + - Noto Sans SC, Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'. diff --git a/assets/fonts/Yupiter-Regular.ttf b/assets/fonts/Yupiter-Regular.ttf new file mode 100644 index 0000000..acbe128 Binary files /dev/null and b/assets/fonts/Yupiter-Regular.ttf differ diff --git a/src/hud.rs b/src/hud.rs index 9c34e97..7294ab3 100644 --- a/src/hud.rs +++ b/src/hud.rs @@ -6,7 +6,7 @@ use std::collections::VecDeque; use std::time::SystemTime; pub const HUD_REFRESH_TIME: f32 = 0.5; -pub const FONT: &str = "external/NotoSansSC-Thin.ttf"; +pub const FONT: &str = "fonts/Yupiter-Regular.ttf"; pub const LOG_MAX: usize = 20; pub const LOG_MAX_TIME_S: u64 = 20; pub const CHOICE_NONE: &str = "";