CSSHints

Overview

CSSHints is a class in Aspose.Font FOSS for Python.

CSS implementation hints for a font.

This class declares 1 method for CSSHints objects in Python programs. Available methods include: to_dict. Public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package. Properties: at_font_face, css_custom_properties, font_display, unicode_range.

Properties

NameTypeAccessDescription
at_font_facedict[str, object]ReadGets the at font face.
css_custom_propertiesdict[str, str] | NoneReadGets the css custom properties.
font_displaystrReadGets the font display.
unicode_rangestr | NoneReadGets the unicode range.

Methods

SignatureDescription
to_dict() → dict[str, object]Serializes CSS implementation hints such as font-display and unicode-range into a dictionary for inclusion in generated CSS files

See Also