Table of Contents

Available since version: Gideros 2011.6


Creates a new TTFont object.

Syntax:, size, text, filtering)


  • filename: (string) The name of the TTF file to be loaded
  • size: (number) size of the font
  • text: (string, optional) if specified, TTFont caches the characters of specified text to speed up the rendering
  • filtering: (boolean, default = false) Whether or not the font texture is filtered