ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. dxSetDefaultFont

Function

dxSetDefaultFont

ClientDrawing (dx)Trilogy Hub only

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")

See also