Replaced the main application font.

This commit is contained in:
Leon Styhre 2021-01-28 20:06:12 +01:00
parent 4d8b0deb9b
commit 0974e7b593
9 changed files with 14 additions and 15 deletions

View file

@ -65,6 +65,7 @@ Many bugs have been fixed, and numerous features that were only partially implem
* Overhaul of the screensaver (the game info overlay now works correctly for instance)
* Added support for jumping to the start and end of gamelists and menus using the controller trigger buttons (or equivalent keyboard mappings)
* Many additional quality of life improvements and removal of GUI inconsistencies
* Replaced the main application font with Fontfabric Akrobat
* Replaced the on and off button icons with new graphics
* Replaced the checked checkmark icon with new graphics
* Made ScrollableContainer (used for the gamelist game descriptions) fade in as the text position is reset

View file

@ -56,6 +56,9 @@ http://www.libsdl.org
# Resources
Akrobat font \
https://www.fontfabric.com/fonts/akrobat
DejaVu font \
https://dejavu-fonts.github.io
@ -65,15 +68,12 @@ https://android.googlesource.com/platform/frameworks/base
Font Awesome \
https://fontawesome.com
GNU FreeFont \
GNU FreeFont (FreeMono) \
https://www.gnu.org/software/freefont
Nanum font \
https://hangeul.naver.com
Open Sans font \
https://fonts.google.com/specimen/Open+Sans
MAME ROM information \
https://www.mamedev.org

View file

@ -219,24 +219,22 @@ std::vector<std::string> getFallbackFontPaths()
// Standard fonts, let's include them here for exception handling purposes even though that's
// not really the correct location. (The application will crash if they are missing.)
ResourceManager::getInstance()->
getResourcePath(":/fonts/opensans_hebrew_condensed_light.ttf");
ResourceManager::getInstance()->
getResourcePath(":/fonts/opensans_hebrew_condensed_regular.ttf");
ResourceManager::getInstance()->getResourcePath(":/fonts/Akrobat-Regular.ttf");
ResourceManager::getInstance()->getResourcePath(":/fonts/Akrobat-SemiBold.ttf");
// Vera sans Unicode:
// Vera sans Unicode.
fontPaths.push_back(ResourceManager::getInstance()->
getResourcePath(":/fonts/DejaVuSans.ttf"));
// Freefont monospaced:
// GNU FreeFont monospaced.
fontPaths.push_back(ResourceManager::getInstance()->
getResourcePath(":/fonts/FreeMono.ttf"));
// Various languages, such as Japanese and Chinese:
// Various languages, such as Japanese and Chinese.
fontPaths.push_back(ResourceManager::getInstance()->
getResourcePath(":/fonts/DroidSansFallbackFull.ttf"));
// Korean:
// Korean.
fontPaths.push_back(ResourceManager::getInstance()->
getResourcePath(":/fonts/NanumMyeongjo.ttf"));
// Font Awesome icon glyphs, used for star-flagging favorites in the gamelists:
// Font Awesome icon glyphs, used for star-flagging favorites in the gamelists.
fontPaths.push_back(ResourceManager::getInstance()->
getResourcePath(":/fonts/fontawesome-webfont.ttf"));

View file

@ -31,8 +31,8 @@ class TextCache;
#define FONT_SIZE_LARGE (static_cast<unsigned int>(0.085f * \
std::min(Renderer::getScreenHeight(), Renderer::getScreenWidth())))
#define FONT_PATH_LIGHT ":/fonts/opensans_hebrew_condensed_light.ttf"
#define FONT_PATH_REGULAR ":/fonts/opensans_hebrew_condensed_regular.ttf"
#define FONT_PATH_LIGHT ":/fonts/Akrobat-Regular.ttf"
#define FONT_PATH_REGULAR ":/fonts/Akrobat-SemiBold.ttf"
enum Alignment {
ALIGN_LEFT,

Binary file not shown.

Binary file not shown.

Binary file not shown.