Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FontRenderingMode

Font rendering mode constants for TrueTypeFontImporter.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public enum FontRenderingMode

Fields

Value

Description

HintedRasterUse hinted font rendering without anti-aliasing. This is the crispest font rendering option, and may be most readable for small font sizes.
HintedSmoothUse Anti-Aliased Font rendering with hinting. This forces character lines to run along pixel boundaries.
OSDefaultUse the OS default font rendering mode. This mode is only available for dynamic fonts, as static fonts are generated at build time.
SmoothUse Anti-Aliased Font rendering. When using dynamic fonts, this is the mode which is fastest in rendering font textures.