REVIEWED: Comments to be more descriptive

This commit is contained in:
Ray 2026-06-07 18:41:44 +02:00
commit 15d25242be
5 changed files with 17 additions and 17 deletions

View file

@ -327,7 +327,7 @@ extern void UnloadFontDefault(void)
defaultFont.recs = NULL;
}
// Get the default font, useful to be used with extended parameters
// Get the default font
Font GetFontDefault()
{
return defaultFont;
@ -381,9 +381,9 @@ Font LoadFont(const char *fileName)
return font;
}
// Load Font from TTF or BDF font file with generation parameters
// NOTE: You can pass an array with desired characters, those characters should be available in the font
// if array is NULL, default char set is selected 32..126
// Load font from file with defined codepoints and generation size
// NOTE: NULL for codepoints and 0 for codepointCount to load the default character set (32..126),
// font size is provided in pixels height
Font LoadFontEx(const char *fileName, int fontSize, const int *codepoints, int codepointCount)
{
Font font = { 0 };