diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs index 1ae996a..fa1eb41 100644 --- a/Raylib-cs/interop/Raylib.cs +++ b/Raylib-cs/interop/Raylib.cs @@ -1966,8 +1966,8 @@ public static unsafe partial class Raylib public static extern Font LoadFont(sbyte* fileName); /// - /// Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load - /// the default character set + /// Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load + /// the default character set, font size is provided in pixels height /// [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern Font LoadFontEx(sbyte* fileName, int fontSize, int* codepoints, int codepointCount); diff --git a/Raylib-cs/types/Raylib.Utils.cs b/Raylib-cs/types/Raylib.Utils.cs index 04cf58c..7b87c9c 100644 --- a/Raylib-cs/types/Raylib.Utils.cs +++ b/Raylib-cs/types/Raylib.Utils.cs @@ -935,7 +935,10 @@ public static unsafe partial class Raylib return LoadFont(str1.AsPointer()); } - /// Load font from file with extended parameters + /// + /// Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load + /// the default character set, font size is provided in pixels height + /// public static Font LoadFontEx(string fileName, int fontSize, int[] codepoints, int codepointCount) { using var str1 = fileName.ToAnsiBuffer();