1
0
mirror of synced 2024-11-28 01:10:56 +01:00

Switch to a merged font for improved symbols compatibility

This commit is contained in:
Stepland 2020-02-28 19:05:13 +01:00
parent d49f8188b9
commit 9a92334c0c
4 changed files with 3 additions and 5 deletions

View File

@ -43,13 +43,11 @@
- Handle JCK and special characters
- Japanese
- utf8 to sfml conversion
- Handle more stuff via ttf merging (omg the cops)
## TODO
### Misc
- Make Drawables lazily react to resolution changes
- Handle JCK and special characters
- Find a font that handles more stuff
- make a ttc bundle : https://fontforge.org/en-US/
### Music Select Screen
- Sound

View File

@ -16,8 +16,8 @@ namespace MusicSelect {
if (not light.loadFromFile("assets/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Light.ttf")) {
throw std::runtime_error("Unable to load assets/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Light.ttf");
}
if (not medium.loadFromFile("assets/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Medium.ttf")) {
throw std::runtime_error("Unable to load assets/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Medium.ttf");
if (not medium.loadFromFile("assets/fonts/M_PLUS_Rounded_1c/RoundedMplus1c-Medium+NotoSansSymbols+Symbola.ttf")) {
throw std::runtime_error("Unable to load assets/fonts/M_PLUS_Rounded_1c/RoundedMplus1c-Medium+NotoSansSymbols+Symbola.ttf");
}
if (not black.loadFromFile("assets/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Black.ttf")) {
throw std::runtime_error("Unable to load assets/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Black.ttf");