You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Apr 29, 2026
·
3 revisions
Check if a font is valid (font data loaded) WARNING: GPU texture not checked
Parameters
Parameter
Default Value
Note
font
Return value
Condition
Return Value
(always)
number
Notes
Example
// Load a font and verify it loaded successfullyfont=raylib.LoadFont("resources/myfont.ttf")
ifraylib.IsFontValid(font) thenprint"Font loaded OK"raylib.UnloadFontfontelseprint"Font failed to load"endif