load-font-data ( fileData dataSize fontSize codepoints codepointCount type glyphCount -- GlyphInfo* )


Vocabulary
raylib

Inputs
fileDataa c-ptr
dataSizean int
fontSizean int
codepointsa pointer to a int
codepointCountan int
typea FontType
glyphCounta writable pointer to an int


Outputs
GlyphInfo*a pointer to GlyphInfo


Word description
Loads font glyph data. Raylib 6.0 writes the actual glyph count through the seventh parameter; use that count with unload-font-data. The input is a binary font buffer with dataSize bytes.

Definition


LIBRARY: raylib FUNCTION-ALIAS: load-font-data GlyphInfo*
LoadFontData
( uchar* fileData, int dataSize, int fontSize, int*
codepoints, int codepointCount, FontType type, int*
glyphCount )