# ClearFontAssetData(bool)

> Clears font asset data including the glyph and character tables and textures. Function might be changed to Internal and only used in tests.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.TextCore.Text](/engine/6000.7/script-reference/unityengine/textcore/text.md)
* **Assembly:** UnityEngine.TextCoreTextEngineModule

```csharp
public void ClearFontAssetData(bool setAtlasSizeToZero = false)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Will set the atlas texture size to zero width and height if true.
