# CFX::REGISTER_FONT_FILE

- **Hash:** `0x1B3A363`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `RegisterFontFile`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/REGISTER_FONT_FILE

## Signature

```c
void REGISTER_FONT_FILE(char* fileName);
```

## Parameters

- `fileName` (`char*`) — The name of the .gfx file, without extension.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Registers a specified .gfx file as GFx font library.
The .gfx file has to be registered with the streamer already.

## Usage

### Lua

```lua
RegisterFontFile(fileName)

-- always available, by hash
Citizen.InvokeNative(0x1b3a363, fileName)
```

### JavaScript

```js
RegisterFontFile(fileName);

// by hash
Citizen.invokeNative('0x1b3a363', fileName);
```

### C#

```csharp
Function.Call((Hash)0x1b3a363, fileName);
```

*Sources: Cfx.re native reference.*
