create method

create

Instantiate new font substitution pair.

def create(cls, original_font, substitute_with):
    ...
Parameter Type Description
original_font str Font from the source document.
substitute_with str Font which will be used to replace “original_font.

See Also