diff --git a/data/font/terminus-bold.fon b/data/font/terminus-bold.fon deleted file mode 100644 index b09d6a2499a8a..0000000000000 Binary files a/data/font/terminus-bold.fon and /dev/null differ diff --git a/src/sdltiles.cpp b/src/sdltiles.cpp index c9ee7420a7d51..73d29d4bfc63c 100644 --- a/src/sdltiles.cpp +++ b/src/sdltiles.cpp @@ -3865,6 +3865,7 @@ CachedTTFFont::CachedTTFFont( const int w, const int h, std::string typeface, in : Font( w, h ) , fontblending( fontblending ) { + const std::string original_typeface = typeface; int faceIndex = 0; if( const cata::optional sysfnt = find_system_font( typeface, faceIndex ) ) { typeface = *sysfnt; @@ -3872,13 +3873,13 @@ CachedTTFFont::CachedTTFFont( const int w, const int h, std::string typeface, in } if( !file_exist( typeface ) ) { faceIndex = 0; - typeface = PATH_INFO::user_font() + typeface + ".ttf"; + typeface = PATH_INFO::user_font() + original_typeface + ".ttf"; dbg( D_INFO ) << "Using compatible font [" + typeface + "] found in user font dir."; } //make fontdata compatible with wincurse if( !file_exist( typeface ) ) { faceIndex = 0; - typeface = PATH_INFO::fontdir() + typeface + ".ttf"; + typeface = PATH_INFO::fontdir() + original_typeface + ".ttf"; dbg( D_INFO ) << "Using compatible font [" + typeface + "] found in font dir."; } //different default font with wincurse