Creates a new Font object


See also Utility functions.

Signature:

fontObject = CreateFont("name")

Arguments:

  • name - Name to assign to the newly created object; used both as the name of the object (retrievable with Font:GetName()) and as a global variable referencing the object (unless another global by that name already exists) (string)

Returns:

  • fontObject - The newly created Font object (table)