VMPrint API Reference - v1.0.0
    Preparing search index...

    Interface WebFontManagerOptions

    interface WebFontManagerOptions {
        aliases?: Record<string, string>;
        cache?: boolean | WebFontCacheOptions;
        fetch?: {
            (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
            (input: string | Request | URL, init?: RequestInit): Promise<Response>;
        };
        fetchTimeoutMs?: number;
        fonts?: FontConfig[];
        maxConcurrentDownloads?: number;
        onProgress?: (event: WebFontProgressEvent) => void;
        repositoryBaseUrl?: string;
        requestInit?: RequestInit;
    }
    Index

    Properties

    aliases?: Record<string, string>
    cache?: boolean | WebFontCacheOptions
    fetch?: {
        (input: RequestInfo | URL, init?: RequestInit): Promise<Response>;
        (input: string | Request | URL, init?: RequestInit): Promise<Response>;
    }

    Type Declaration

      • (input: RequestInfo | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: RequestInfo | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

      • (input: string | Request | URL, init?: RequestInit): Promise<Response>
      • Parameters

        • input: string | Request | URL
        • Optionalinit: RequestInit

        Returns Promise<Response>

    fetchTimeoutMs?: number
    fonts?: FontConfig[]
    maxConcurrentDownloads?: number
    onProgress?: (event: WebFontProgressEvent) => void
    repositoryBaseUrl?: string
    requestInit?: RequestInit