-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.GetGlyphIndex
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Get index position for a unicode character on font NOTE: If codepoint is not found in the font it fallbacks to '?'
| Parameter | Default Value | Note |
|---|---|---|
| font | ||
| codepoint |
| Condition | Return Value |
|---|---|
| (always) | number |
// Get the glyph index for the letter 'A' in the default font
font = raylib.GetFontDefault
idx = raylib.GetGlyphIndex(font, 65)
print idx