> For the complete documentation index, see [llms.txt](https://identix.rlib.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://identix.rlib.io/configuration/fonts.md).

# Fonts

Information related to modifying fonts.

### <mark style="color:red;">◾ Location</mark>

&#x20;    <mark style="color:green;">**`lua\modules\identix\core\cl_fonts.lua`**</mark>

### <mark style="color:red;">◾ Parameters</mark>

&#x20;     *str*                   *<mark style="color:blue;">**prefix**</mark>*\
&#x20;                         prefix added to front of **id\_name** string

&#x20;     *str*                   *<mark style="color:blue;">**id\_name**</mark>*\
&#x20;                         name used to call font entry

&#x20;     *str*                   *<mark style="color:blue;">**font**</mark>*\
&#x20;                         name of font used

&#x20;     ***int                  &#x20;**<mark style="color:blue;">**size**</mark>*\
&#x20;                         size for font

&#x20;     *int*                    *<mark style="color:blue;">**weight**</mark>*\
&#x20;                          font weight ( *`100, 200, 300, 400, 500, 600, 700, 800`* )

&#x20;     *bool*                *<mark style="color:blue;">**shadow**</mark>*\
&#x20;                          add shadow casting to the font

&#x20;     *bool*                *<mark style="color:blue;">**extended**</mark>*\
&#x20;                          allow font to display glyphs outside Latin-1 range. \
&#x20;                          unicode code points above 0xFFFF are not supported.

&#x20;     *bool*                *<mark style="color:blue;">**symbol**</mark>*\
&#x20;                          enables the use of symbolic fonts such as Webdings

### <mark style="color:red;">◾ Structure</mark>

Each font has the following structure:

{% tabs %}
{% tab title="Structure Example" %}

```lua
_f( prefix, 'id_name', 'Font Name', size, weight, shadow, extended, sym )
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="lua\modules\liko\core\cl\_fonts.lua" %}

```lua
_f( pf, 'g_section_name', 'Advent Pro Light', 32, 200 )
```

{% endtab %}
{% endtabs %}

### <mark style="color:red;">◾ Saving Changes</mark>

After editing a font; you must execute the console command <mark style="color:green;">**`identix.fonts.reload`**</mark>

### <mark style="color:red;">◾ Notes</mark>

The only values you should modify are the **font name**, **size**, **weight**, and **shadow**.

If you wish to use a **custom font** that is not included with Garry's Mod; you must provide that font in a Steam Workshop collection for your server; or sync it to players using FastDL. This documentation does not include instructions on doing that; as it's outside the scope of what the purpose of this documentation is for.
