Handbook
Glossary
load-font-data ( fileData dataSize fontSize codepoints codepointCount type glyphCount -- GlyphInfo* )
Vocabulary
raylib
Inputs
fileData
a
c-ptr
dataSize
an
int
fontSize
an
int
codepoints
a
pointer
to a
int
codepointCount
an
int
type
a
FontType
glyphCount
a 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
USING:
alien.c-types
alien.syntax
;
IN:
raylib
LIBRARY:
raylib
FUNCTION-ALIAS:
load-font-data
GlyphInfo*
LoadFontData
( uchar* fileData,
int
dataSize,
int
fontSize, int*
codepoints,
int
codepointCount,
FontType
type, int*
glyphCount )