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

Definition:

@property
def format(self):
    ...

See Also