add custom-made font Yupiter

This commit is contained in:
yuni 2024-03-22 14:35:07 +01:00
parent 2027929319
commit b47a181e96
3 changed files with 5 additions and 1 deletions

View file

@ -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/click-button-140881
- https://pixabay.com/sound-effects/data-transmission-sound-from-14664-72309 - https://pixabay.com/sound-effects/data-transmission-sound-from-14664-72309
- https://pixabay.com/sound-effects/thrusters-loopwav-14699 - 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'.

Binary file not shown.

View file

@ -6,7 +6,7 @@ use std::collections::VecDeque;
use std::time::SystemTime; use std::time::SystemTime;
pub const HUD_REFRESH_TIME: f32 = 0.5; 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: usize = 20;
pub const LOG_MAX_TIME_S: u64 = 20; pub const LOG_MAX_TIME_S: u64 = 20;
pub const CHOICE_NONE: &str = ""; pub const CHOICE_NONE: &str = "";