Expand description

Functions to load fonts and draw text.

Structs

TTF font loaded to GPU

World space dimensions of the text, measured by “measure_text” function

Arguments for “draw_text_ex” function such as font, font_size etc

Functions

From given font size in world space gives (font_size, font_scale and font_aspect) params to make rasterized font looks good in currently active camera

Draw text with given font_size

Draw text with custom params such as font, font size and font scale.

Load font from file with “path”

Load font from bytes array, may be use in combination with include_bytes!