⚠️ This site is under development, some artefacts may be missing or incomplete.
PIXEL UI
RegisterFont

RegisterFont

PIXEL.RegisterFont( string name, string font, number size, number weight = 500 )

Description

ℹ️

Ensure that the identifier of your font is unique to avoid conflicts with other addons.

Registers a font with PIXEL UI that automatically scales with the screen's resolution.

Arguments

string name

The identifier of the font.

string font

The font family to use.

number size

The size of the font.

number weight = 500

The font weight.