[rtext] add warning for loadfontex/loadfontfrommemory (#5864)

* add warning for loadfontex/loadfontfrommemory

* bump to re-run build tests
This commit is contained in:
Thomas Anderson
2026-05-13 01:56:13 -05:00
committed by GitHub
parent 5aa3de194c
commit fd28dc5644

View File

@@ -580,8 +580,13 @@ Font LoadFontFromMemory(const char *fileType, const unsigned char *fileData, int
TRACELOG(LOG_INFO, "FONT: Data loaded successfully (%i pixel size | %i glyphs)", font.baseSize, font.glyphCount);
}
else font = GetFontDefault();
else
{
TRACELOG(LOG_WARNING, "FONT: Font is not supported by LoadFontEx/LoadFontFromMemory or no glyphs found, reverted to default font");
font = GetFontDefault();
}
#else
TRACELOG(LOG_WARNING, "FONT: Font is not supported by LoadFontEx/LoadFontFromMemory or no glyphs found, reverted to default font");
font = GetFontDefault();
#endif