FontFlags
This enum determines which flags a font object should possess. Setting those flags is only possible during type construction.
SHADOW
Field
Adds a 1px shadow to font glyphs.
OUTLINE
Field
Adds a 1px outline to font glyphs.
ANTI_ALIAS
Field
Enable antialiasing on font glyphs. This flag only works on GDI fonts.
NO_DPI
Field
Disable DPI scaling on this font. By default, font glyphs will be scaled in accordance to the global DPI scale.
NO_KERN
Field
Disable glyph kerning on this font.
MONO
Field
Enables a strong hinting algorithm for rasterization. Only works on FreeType fonts.
LIGHT
Field
Enables a light hinting algorithm for rasterization. Only works on FreeType fonts.
Last updated