Fonts
Methods
The following font management methods are accessible via the PIXEL
global table:
PIXEL.RegisterFont( string, string, number, number )
Registers a font with PIXEL UI that automatically scales with the screen's resolution.
PIXEL.RegisterFontUnscaled( string, string, number, number )
Registers a font with PIXEL UI.
string PIXEL.GetRealFont( string )
Retrieves the engine identifier of a PIXEL font.
number, number PIXEL.GetTextSize( string, string )
Calculates the size of the given text with the specified font.