# alignByGeometry

> Use the extents of glyph geometry to perform horizontal alignment rather than glyph metrics.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.TextRenderingModule

```csharp
public bool alignByGeometry
```

### Remarks

This can result in better fitting left and right alignment, but may result in incorrect positioning when attempting to overlay multiple fonts (such as a specialized outline font) on top of each other.
