Class FontRegistry

Constructors

Properties

fonts: { font: FontFace; src: string }[]

Methods

  • Parameters

    • name: string
    • url: string
    • Optionaldescriptors: FontFaceDescriptors

    Returns Promise<void>

  • Returns {
        fonts: {
            descriptors?: { style?: string; weight?: string };
            family: string;
            src: string;
        }[];
    }