Skip to content

Commit

Permalink
Try another font in case we could not locate monospace
Browse files Browse the repository at this point in the history
  • Loading branch information
thesourcehim committed Feb 5, 2024
1 parent 25a5d68 commit 30979d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions desmume/src/frontend/posix/gtk/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3787,6 +3787,8 @@ int main (int argc, char *argv[])
#ifdef HAVE_LIBAGG
fontConfig = FcInitLoadConfigAndFonts();
vectorFontFile = FindFontFile("mono", true);
if(!vectorFontFile.size())
vectorFontFile = FindFontFile("sans", true);
#endif
// The global menu screws up the window size...
unsetenv("UBUNTU_MENUPROXY");
Expand Down

0 comments on commit 30979d1

Please sign in to comment.