Enum TextServer.SubpixelPositioning
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum TextServer.SubpixelPositioning : long
Fields
Auto = 1
Glyph horizontal position is rounded based on font size.
- To one quarter of the pixel size if font size is smaller or equal to OneQuarterMaxSize.
- To one half of the pixel size if font size is smaller or equal to OneHalfMaxSize.
- To the whole pixel size for larger fonts.
Disabled = 0
Glyph horizontal position is rounded to the whole pixel size, each glyph is rasterized once.
OneHalf = 2
Glyph horizontal position is rounded to one half of the pixel size, each glyph is rasterized up to two times.
OneHalfMaxSize = 20
Maximum font size which will use one half of the pixel subpixel positioning in Auto mode.
OneQuarter = 3
Glyph horizontal position is rounded to one quarter of the pixel size, each glyph is rasterized up to four times.
OneQuarterMaxSize = 16
Maximum font size which will use one quarter of the pixel subpixel positioning in Auto mode.