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 this font is available and its binary content is unavailable, the property returns FontFormat.unknown.

Definition:

@property
def format(self):
    ...

See Also