midorable
    Preparing search index...

    Interface SystemFontFeature

    interface SystemFontFeature {
        loadFont(fontName: string, url: string): Promise<boolean>;
    }
    Index

    Methods

    Methods

    • フォントを読み込み、プラットフォームに登録する

      Parameters

      • fontName: string

        フォント名。以降、font-familyなどでこの名前を使用してフォントを指定できるようになる。

      • url: string

        フォントファイルのURL

      Returns Promise<boolean>