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
| Name | Type | Access | Description |
|---|---|---|---|
at_font_face | dict[str, object] | Read | Gets the at font face. |
css_custom_properties | dict[str, str] | None | Read | Gets the css custom properties. |
font_display | str | Read | Gets the font display. |
unicode_range | str | None | Read | Gets the unicode range. |
Methods
| Signature | Description |
|---|---|
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 |