mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-28 19:39:19 +01:00
Always keep all AXIS fonts in memory
(cherry picked from commit f5c75e4cd5)
This commit is contained in:
parent
cbc0896fad
commit
267a4b0047
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