# UnloadFontFace()

> Unloads current font face and removes it from the cache.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.TextCore.LowLevel](/engine/6000.5/script-reference/unityengine/textcore/lowlevel.md)
* **Assembly:** UnityEngine.TextCoreFontEngineModule

```csharp
public static FontEngineError UnloadFontFace()
```

### Returns

| Type                                                                                                | Description                                                                                |
| --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [FontEngineError](/engine/6000.5/script-reference/unityengine/textcore/lowlevel/fontengineerror.md) | A value of zero (0) if the font face was successfully unloaded and removed from the cache. |
