• Loads a font for the canvas

    Parameters

    • Optionalfont: string

      font name

    • Optionalweight: string

      font weight

    Returns Promise<void>