mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-28 03:19:19 +01:00
Always keep all AXIS fonts in memory
This commit is contained in:
parent
14dfbf7bcf
commit
f5c75e4cd5
2 changed files with 32 additions and 16 deletions
|
|
@ -245,6 +245,7 @@ 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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue