generated from erangel1/generic-template
initial commit. phase 1 complete
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user