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