Skip to contents

Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found.

Usage

get_glyph_index(font, codepoint)

Arguments

font

A font.

codepoint

An integer.

Value

An integer

Note

This function has been auto-generated from the following Raylib function definition:

int GetGlyphIndex(Font font, int codepoint);

See also

font() for creating font objects.