Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GlyphRenderMode

The rendering modes used by the Font Engine to render glyphs.
Read time 2 minutesLast updated 6 days ago

Definition

public enum GlyphRenderMode

Fields

Value

Description

COLORRenders a color bitmap image representation of the glyph no hinting.
COLOR_HINTEDRenders a color bitmap image representation of the glyph with hinting.
DEFAULTAutomatically choose the best appropriate render mode (SDFAA or COLOR) based on the font provided.
RASTERRenders a bitmap representation of the glyph from a binary (1-bit monochrome) image of the glyph outline with no hinting.
RASTER_HINTEDRenders a bitmap representation of the glyph from a binary (1-bit monochrome) image of the glyph outline with 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.
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.
SDF8Renders a signed distance field (SDF) representation of the glyph from a binary (1-bit monochrome) image of the glyph outline with no 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.
SDFAA_HINTEDRenders a signed distance field (SDF) 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.
SMOOTH_HINTEDRenders a bitmap representation of the glyph from an 8-bit or antialiased image of the glyph outline with hinting.