FontFile

Overview

FontFile is a class in Aspose.3D FOSS for Python. Inherits from: A3DObject.

Font file contains definitions for glyphs, this is used to create text profile.

This class declares 7 methods for FontFile objects in Python programs. Available methods include: __init__, find_property, from_file, get_property, parse, remove_property, set_property. All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package. Properties: name, properties.

Properties

NameTypeAccessDescription
namestrRead/WriteGets or sets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
__init__(name: str)Calls init(name) on this FontFile instance.
from_file(file_name: str)'FontFile'Load FontFile from file name.
parse(data: bytes)'FontFile'Parse FontFile from byte data.
find_property(property_name: str)Calls find_property(property_name) on this FontFile instance.
get_property(property: str)Calls get_property(property) on this FontFile instance.
set_property(property: str, value)Sets the property value.
remove_property(property)Calls remove_property(property) on this FontFile instance.

See Also