Pike v8.1 release 6

Method GLUE.Font()->get_character()


Method get_character

array(int|BaseTexture|Region) get_character(int c)

Description

Returns the advance (in pixels), the texture and the texture coordinates for the specified character, or 0 if it's nonprintable.

Note

If the font->write call fails, the backtrace will be written to stderr.