- Documentation
- Client functions
- dxSetDefaultFont
Function
dxSetDefaultFont
Sets the font dxDrawText uses when none is given, only in the current resource. nil restores the default.
Syntax
bool dxSetDefaultFont([string|font font])Arguments
fontstring|font, optional- The font.
Returns
true on success.
Example
dxSetDefaultFont("inter-semibold")