initial commit. phase 1 complete

This commit is contained in:
2026-05-05 20:45:19 +02:00
parent d9c68313a0
commit 89e058ffac
20631 changed files with 3224610 additions and 43 deletions
+20
View File
@@ -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;