Module ui.font

Font module.

Functions

Font:getFace (font, size) Gets font face object.

Tables

FontFaceObj Freetype font face wrapper object


Functions

Font:getFace (font, size)
Gets font face object.

Parameters:

  • font string
  • size int optional size

Returns:

    table FontFaceObj

Tables

FontFaceObj
Freetype font face wrapper object

Fields:

  • size size of the font face (after scaled by screen size)
  • orig_size raw size of the font face (before scale)
  • ftface font face object from freetype
  • hash hash key for this font face
generated by LDoc 1.4.6 Last updated 2017-10-08 14:57:40