Creates a new font with the specified parameters.
Creates a new font with the specified parameters.
1 string path
the path to the font.
2 string name
the name to give to the font.
3 number size
the size of the font. Ideally this should not be an odd number.
4 string scaler
the scaler to use for this font. If none is specified, it will fall back to the "ui" scaler.
5 bool skipScaling
whether scaling of this font should be skipped.
1 Font
the created font object.