surface.CreateFont
Example
Creates a font with all the defaults showing (any of the fields could be left out for an equivalent font)
Creates a new font.
To prevent the font from displaying incorrectly when using the outline
setting, set antialias
to false. This will ensure the text properly fills out the entire outline.
Be sure to check the List of Default Fonts first! Those fonts can be used without using this function.
See Also: Finding the Font Name.
Define fonts that you will actually use, as fonts are very taxing on performance and will cause crashes! Do not create fonts for every size.
Creates a font with all the defaults showing (any of the fields could be left out for an equivalent font)