diff --git a/addons/imgui-godot/ImGuiGodot/ImGuiGD.cs b/addons/imgui-godot/ImGuiGodot/ImGuiGD.cs index a5a7ff1..b917df8 100644 --- a/addons/imgui-godot/ImGuiGodot/ImGuiGD.cs +++ b/addons/imgui-godot/ImGuiGodot/ImGuiGD.cs @@ -109,9 +109,9 @@ public static void ResetFonts() Internal.State.Instance.Fonts.ResetFonts(); } - public static void AddFont(FontFile fontData, int fontSize, bool merge = false) + public static void AddFont(FontFile fontData, int fontSize, bool merge = false, ushort[] predefinedRanges = null) { - Internal.State.Instance.Fonts.AddFont(fontData, fontSize, merge); + Internal.State.Instance.Fonts.AddFont(fontData, fontSize, merge, predefinedRanges); } public static void AddFontDefault()