---
title: SetFaceSize(int)
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/textcore/lowlevel/fontengine/setfacesize
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityengine/textcore/lowlevel/fontengine/setfacesize.md
last_updated: 2026-10-07
generated_at: 2026-11-11T08:50:49.860Z
locale: en-us
---

# SetFaceSize(int)

> Set the size of the currently loaded font face.

## Definition

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

```csharp
public static FontEngineError SetFaceSize(int pointSize)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The point size used to scale the font face.

### Returns

| Type                                                                                                | Description                                                                           |
| --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| [FontEngineError](/engine/7000.0/script-reference/unityengine/textcore/lowlevel/fontengineerror.md) | A value of zero (0) if the font face was successfully scaled to the given point size. |
