FontRenderingMode Enumeration

Font rendering mode constants for TrueTypeFontImporter.

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

Values
Smooth

Use Anti-Aliased Font rendering. When using dynamic fonts, this is the mode which is fastest in rendering font textures.

HintedSmooth

Use Anti-Aliased Font rendering with hinting. This forces character lines to run along pixel boundaries, and generally produces.

HintedRaster

Use hinted font rendering without anti-aliasing. This is the crispest font rendering option, and may be most readable for small.

OSDefault

Use the OS default font rendering mode. This selects either FontRenderingMode.HintedSmooth or.