enable_font_hinting property

enable_font_hinting property

The property enables font hinting.

Font hinting adjusts how an outline font is displayed. Only applicable to TTF fonts used in the source document. This option is available for rendering to PNG or JPG formats. The default value is False.

For a code example, see the documentation.

Definition:

@property
def enable_font_hinting(self):
    ...
@enable_font_hinting.setter
def enable_font_hinting(self, value):
    ...

See Also