Implement feature to use game resource fonts

This commit is contained in:
Soreepeong 2022-02-24 18:56:34 +09:00
parent b7c47b4c97
commit f3588dfe23
9 changed files with 1137 additions and 2 deletions

View file

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.IO;
using Dalamud.Game.Text;
using Dalamud.Interface.GameFonts;
using Dalamud.Interface.Style;
using Newtonsoft.Json;
using Serilog;
@ -128,6 +129,11 @@ namespace Dalamud.Configuration.Internal
/// </summary>
public float GlobalUiScale { get; set; } = 1.0f;
/// <summary>
/// Gets or sets the game font to use for Dalamud UI.
/// </summary>
public GameFont DefaultFontFromGame { get; set; } = GameFont.Undefined;
/// <summary>
/// Gets or sets a value indicating whether or not plugin UI should be hidden.
/// </summary>