diff --git a/GUI.NET/Controls/BaseControl.cs b/GUI.NET/Controls/BaseControl.cs index 4707a1b5..3c698ff5 100644 --- a/GUI.NET/Controls/BaseControl.cs +++ b/GUI.NET/Controls/BaseControl.cs @@ -15,7 +15,7 @@ namespace Mesen.GUI.Controls get { if(Program.IsMono) { - return "DroidSansMono"; + return "monospace"; } else { return "Consolas"; } diff --git a/GUI.NET/Dependencies/DroidSansMono.ttf b/GUI.NET/Dependencies/DroidSansMono.ttf deleted file mode 100644 index d604425b..00000000 Binary files a/GUI.NET/Dependencies/DroidSansMono.ttf and /dev/null differ diff --git a/GUI.NET/ResourceManager.cs b/GUI.NET/ResourceManager.cs index 751eaa10..4c16905a 100644 --- a/GUI.NET/ResourceManager.cs +++ b/GUI.NET/ResourceManager.cs @@ -137,15 +137,6 @@ namespace Mesen.GUI } else if(entry.Name == "Font.24.spritefont" || entry.Name == "Font.64.spritefont" || entry.Name == "LICENSE.txt" || entry.Name == "PixelFont.ttf") { string outputFilename = Path.Combine(ConfigManager.HomeFolder, "Resources", entry.Name); ExtractFile(entry, outputFilename); - } else if(entry.Name == "DroidSansMono.ttf" && Program.IsMono) { - string outputFilename = Path.Combine(ConfigManager.FontFolder, entry.Name); - bool needRestart = !File.Exists(outputFilename); - ExtractFile(entry, outputFilename); - if(needRestart) { - //If font is newly installed, restart Mesen (otherwise debugger will not be able to use the font and display incorrectly) - ConfigManager.RestartMesen(); - return false; - } } }