> 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

### <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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://identix.rlib.io/configuration/fonts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
