# OSDefault

> Use the OS default font rendering mode. This mode is only available for dynamic fonts, as static fonts are generated at build time.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
OSDefault = 3
```

### Remarks

This selects either [FontRenderingMode.HintedSmooth](/engine/6000.0/script-reference/unityeditor/fontrenderingmode/hintedsmooth.md) or [FontRenderingMode.HintedRaster](/engine/6000.0/script-reference/unityeditor/fontrenderingmode/hintedraster.md) on Windows, and either [FontRenderingMode.Smooth](/engine/6000.0/script-reference/unityeditor/fontrenderingmode/smooth.md) or [FontRenderingMode.HintedRaster](/engine/6000.0/script-reference/unityeditor/fontrenderingmode/hintedraster.md) on macOS, depending on the system preferences.
