Functions

Return:

The bitmap as an Array

Font:char(char)

Get metrics of a particular character

Parameters:

char

The character

Return:

The character metrics

Font:render(text, vertex, texcoord)

Render text into geometry for drawing a string of text using the bitmap returned by ascii_chars. Render expects the vertex and texcoord buffers to be at least as big as the text length * 4 since each character is rendered by a quad.