format property

format property

The format of this font.

Documents may use fonts in the following formats: TrueType, TrueType Collection, OpenType, Embedded OpenType. If only metadata about the font is available and its binary content is missing, the property returns FontFormat.unknown.

Definition:

@property
def format(self):
    ...

See Also