Version: 2022.3
LanguageEnglish
  • C#

GlyphRenderMode

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The rendering modes used by the Font Engine to render glyphs.

Properties

SMOOTH_HINTEDRenders a bitmap representation of the glyph from an 8-bit or antialiased image of the glyph outline with hinting.
SMOOTHRenders a bitmap representation of the glyph from an 8-bit or antialiased image of the glyph outline with no hinting.
COLOR_HINTEDRenders a color bitmap image representation of the glyph with hinting.
COLORRenders a color bitmap image representation of the glyph no hinting.
RASTER_HINTEDRenders a bitmap representation of the glyph from a binary (1-bit monochrome) image of the glyph outline with hinting.
RASTERRenders a bitmap representation of the glyph from a binary (1-bit monochrome) image of the glyph outline with no hinting.
SDFRenders a signed distance field (SDF) representation of the glyph from a binary (1-bit monochrome) image of the glyph outline with no hinting.
SDF8Renders a signed distance field (SDF) representation of the glyph from a binary (1-bit monochrome) image of the glyph outline with no hinting.
SDF16Renders a signed distance field (SDF) representation of the glyph from a binary (1-bit monochrome) image of the glyph outline with no hinting.
SDF32Renders a signed distance field (SDF) representation of the glyph from a binary (1-bit monochrome) image of the glyph outline with no hinting.
SDFAA_HINTEDRenders a signed distance field (SDF) representation of the glyph from an 8-bit or antialiased image of the glyph outline with hinting.
SDFAARenders a signed distance field (SDF) representation of the glyph from an 8-bit or antialiased image of the glyph outline with no hinting.