font_flags
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