UI: Removed custom font for version number

This commit is contained in:
Sour 2019-12-29 14:40:20 -05:00
parent a8848c713c
commit af19f4e36a
3 changed files with 1 additions and 9 deletions

Binary file not shown.

View file

@ -68,8 +68,6 @@ namespace Mesen.GUI.Forms
private bool _noVideo = false;
private bool _noInput = false;
private PrivateFontCollection _fonts = new PrivateFontCollection();
public frmMain(string[] args)
{
ThemeHelper.InitTheme(this.BackColor);
@ -83,10 +81,7 @@ namespace Mesen.GUI.Forms
Version currentVersion = new Version(InteropEmu.GetMesenVersion());
lblVersion.Text = currentVersion.ToString();
if(!Program.IsMono) {
_fonts.AddFontFile(Path.Combine(ConfigManager.HomeFolder, "Resources", "PixelFont.ttf"));
lblVersion.Font = new Font(_fonts.Families[0], 10);
} else {
if(Program.IsMono) {
lblVersion.Margin = new Padding(0, 0, 3, 0);
picIcon.Margin = new Padding(3, 5, 3, 3);
}

View file

@ -1841,9 +1841,6 @@
<Content Include="Dependencies\CharacterMappings.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Dependencies\PixelFont.ttf">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>