Font.hinting - multiple declarations

Function Font.hinting

Sets the font's hinting type Type is taken as a value matching one of the following: TTF_HINTING_NORMAL TTF_HINTING_LIGHT TTF_HINTING_MONO TTF_HINTING_NONE Hinting type is how the font is programmed to map onto the pixels on a screen

void hinting (
  int hinting
) @property;

Note

the method flushes the internal cache of glyphs in the font, even if there is no change in hinting It may be useful to first check the font's hinting type

Function Font.hinting

Gets the font's hinting type Type is returned as a value matching one of the following: TTF_HINTING_NORMAL TTF_HINTING_LIGHT TTF_HINTING_MONO TTF_HINTING_NONE Type defaults to TTF_HINTING_NORMAL if no type has been set Hinting type is how the font is programmed to map onto the pixels on a screen

int hinting() @property;