You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
626 B

export type FontManifest = Array<{
url: string;
content: string;
}>;
export type FontConfig = boolean;
export declare function getFontDefinitionFromNetwork(url: string): Promise<string>;
export declare function calculateOverrideValues(fontName: string): {
ascent: any;
descent: any;
lineGap: any;
fallbackFont: string;
};
export declare function calculateSizeAdjustValues(fontName: string): {
ascent: any;
descent: any;
lineGap: any;
fallbackFont: string;
sizeAdjust: string;
};
export declare function getFontOverrideCss(url: string, css: string, useSizeAdjust?: boolean): string;