# GlyphPackingMode

> The modes available when packing glyphs into an atlas texture.

## Definition

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

```csharp
public enum GlyphPackingMode
```

## Fields

| Value                                                                                                                  | Description                                                                                                        |
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------ |
| [BestAreaFit](/engine/6000.6/script-reference/unityengine/textcore/lowlevel/glyphpackingmode/bestareafit.md)           | Place the glyph into the smallest free space available in which it can fit.                                        |
| [BestLongSideFit](/engine/6000.6/script-reference/unityengine/textcore/lowlevel/glyphpackingmode/bestlongsidefit.md)   | Place the glyph against the longer side of a free space to minimize the length of the longer leftover side.        |
| [BestShortSideFit](/engine/6000.6/script-reference/unityengine/textcore/lowlevel/glyphpackingmode/bestshortsidefit.md) | Place the glyph against the short side of a free space to minimize the length of the shorter leftover side.        |
| [BottomLeftRule](/engine/6000.6/script-reference/unityengine/textcore/lowlevel/glyphpackingmode/bottomleftrule.md)     | Place the glyph into available free space in a Tetris like fashion.                                                |
| [ContactPointRule](/engine/6000.6/script-reference/unityengine/textcore/lowlevel/glyphpackingmode/contactpointrule.md) | Place the glyph into the available free space by trying to maximize the contact point between it and other glyphs. |
