fix: remove april fools font

This commit is contained in:
goat 2021-04-02 21:15:45 +02:00
parent 9751a9fed2
commit 78b3550247

View file

@ -275,7 +275,6 @@ namespace Dalamud.Interface
public static ImFontPtr DefaultFont { get; private set; }
public static ImFontPtr IconFont { get; private set; }
public static ImFontPtr FoolsFont { get; private set; }
private unsafe void SetupFonts()
{
@ -314,9 +313,6 @@ namespace Dalamud.Interface
}, GCHandleType.Pinned);
IconFont = ImGui.GetIO().Fonts.AddFontFromFileTTF(fontPathIcon, 17.0f, null, iconRangeHandle.AddrOfPinnedObject());
var fontPathFools = Path.Combine(this.dalamud.AssetDirectory.FullName, "UIRes", "MS Sans Serif.ttf");
FoolsFont = ImGui.GetIO().Fonts.AddFontFromFileTTF(fontPathFools, 14.0f);
Log.Verbose("[FONT] Invoke OnBuildFonts");
this.OnBuildFonts?.Invoke();
Log.Verbose("[FONT] OnBuildFonts OK!");