Skip to content

ax.font

Font management system for creating and storing fonts used throughout the Parallax Framework.

Documented functions: 3  ·  Realm: client

Functions


ax.font:CreateFamily(name, font, size, fontData)

Create a font family with all style variations

Realm: client

Parameters

Name Type Description
name string The base name for the font family
font string The font face name
size number The font size
fontData table Optional additional font data

Source: gamemode/framework/libraries/cl_font.lua:116


ax.font:GenerateAvailableFonts()

Generate list of all available fonts

Realm: client

Returns

  • table: Array of all font names

Source: gamemode/framework/libraries/cl_font.lua:188


ax.font:GenerateStyleCombinations()

Generate all style combinations with all orderings (cached)

Realm: client

Returns

  • table: Array of all style combinations

Source: gamemode/framework/libraries/cl_font.lua:79