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
·
2 revisions
Generate image font atlas using chars info NOTE: Packing method: 0-Default, 1-Skyline
Parameters
Parameter
Default Value
Note
glyphs
glyphRecs
fontSize
padding
packMethod
Return value
Condition
Return Value
(always)
map
Notes
Example
// Generate a font atlas image from glyph data// (glyphs and recs are typically from raylib.LoadFontData)glyphs=raylib.LoadFontData(fileData, 32, null, 0, 0)
recs= []
atlas=raylib.GenImageFontAtlas(glyphs, recs, glyphs.len, 32, 4, 0)