enable_font_hinting property

enable_font_hinting property

Enables font hinting.

Remarks

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 code example, see the documentation.

Definition:

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

See Also