Revert "Always keep all AXIS fonts in memory"

This reverts commit f5c75e4cd5.
This commit is contained in:
goaaats 2022-03-31 15:59:30 +02:00
parent 0d5da42407
commit c29360201b
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
2 changed files with 14 additions and 30 deletions

View file

@ -245,7 +245,6 @@ namespace Dalamud.Interface.Internal.Windows
this.specialGlyphRequests[entry.Name] = fontHandle = Service<InterfaceManager>.Get().NewFontSizeRef(TargetFontSizePx, entry.Name);
ImGui.PushFont(fontHandle.Font);
ImGui.SetWindowFontScale(TargetFontSizePx / fontHandle.Size);
var scale = ImGui.GetIO().FontGlobalScale;