🟥Fonts
Information related to modifying fonts.
▸ Location
lua\modules\hudhive\core\cl_fonts.lua▸ Parameters
str prefix
prefix added to front of id_name string
str id_name
name used to call font entry
str font
name of font used
int size
size for font
int weight
font weight ( 100, 200, 300, 400, 500, 600, 700, 800 )
bool shadow
add shadow casting to the font
bool extended
allow font to display glyphs outside Latin-1 range.
unicode code points above 0xFFFF are not supported.
bool symbol
enables the use of symbolic fonts such as Webdings
▸ Structure
Each font has the following structure:
_f( prefix, 'id_name', 'Font Name', size, weight, shadow, extended, sym )An example of the structure being used in a font:
_f( pf, 'g_section_name', 'Advent Pro Light', 32, 200 )▸ Saving
After changing the settings for a font, or adding your new font; you must execute the console command:
hudhive.fonts.reload▸ Notes
Last updated