mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: remove april fools font
This commit is contained in:
parent
9751a9fed2
commit
78b3550247
1 changed files with 0 additions and 4 deletions
|
|
@ -275,7 +275,6 @@ namespace Dalamud.Interface
|
||||||
|
|
||||||
public static ImFontPtr DefaultFont { get; private set; }
|
public static ImFontPtr DefaultFont { get; private set; }
|
||||||
public static ImFontPtr IconFont { get; private set; }
|
public static ImFontPtr IconFont { get; private set; }
|
||||||
public static ImFontPtr FoolsFont { get; private set; }
|
|
||||||
|
|
||||||
private unsafe void SetupFonts()
|
private unsafe void SetupFonts()
|
||||||
{
|
{
|
||||||
|
|
@ -314,9 +313,6 @@ namespace Dalamud.Interface
|
||||||
}, GCHandleType.Pinned);
|
}, GCHandleType.Pinned);
|
||||||
IconFont = ImGui.GetIO().Fonts.AddFontFromFileTTF(fontPathIcon, 17.0f, null, iconRangeHandle.AddrOfPinnedObject());
|
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");
|
Log.Verbose("[FONT] Invoke OnBuildFonts");
|
||||||
this.OnBuildFonts?.Invoke();
|
this.OnBuildFonts?.Invoke();
|
||||||
Log.Verbose("[FONT] OnBuildFonts OK!");
|
Log.Verbose("[FONT] OnBuildFonts OK!");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue