mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
A bit more of sensible defaults
This commit is contained in:
parent
e22b168c53
commit
14dfbf7bcf
2 changed files with 5 additions and 1 deletions
|
|
@ -292,7 +292,6 @@ namespace Dalamud.Interface.GameFonts
|
|||
fontConfig.PixelSnapH = true;
|
||||
|
||||
var io = ImGui.GetIO();
|
||||
io.Fonts.TexDesiredWidth = 4096;
|
||||
|
||||
this.glyphRectIds.Clear();
|
||||
this.fonts.Clear();
|
||||
|
|
|
|||
|
|
@ -604,6 +604,7 @@ namespace Dalamud.Interface.Internal
|
|||
|
||||
this.fontBuildSignal.Reset();
|
||||
ioFonts.Clear();
|
||||
ioFonts.TexDesiredWidth = 4096;
|
||||
|
||||
ImFontConfigPtr fontConfig = ImGuiNative.ImFontConfig_ImFontConfig();
|
||||
fontConfig.OversampleH = 1;
|
||||
|
|
@ -659,6 +660,10 @@ namespace Dalamud.Interface.Internal
|
|||
codepointRanges.Add(Tuple.Create(Fallback1Codepoint, Fallback1Codepoint));
|
||||
codepointRanges.Add(Tuple.Create(Fallback2Codepoint, Fallback2Codepoint));
|
||||
|
||||
// ImGui default ellipsis characters
|
||||
codepointRanges.Add(Tuple.Create<ushort, ushort>(0x2026, 0x2026));
|
||||
codepointRanges.Add(Tuple.Create<ushort, ushort>(0x0085, 0x0085));
|
||||
|
||||
foreach (var request in requests)
|
||||
{
|
||||
foreach (var range in request.CodepointRanges)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue