Files
med-notes/.pnpm-store/v10/files/36/3a1118233fe9a1d5e471ed7716d5c0d6398832acd381123a5df69cf4f18ba85236ee5d5f53204c2d4c79386737eaa600e359d099476a984a78cd6b433748ac
2025-05-09 05:30:08 +02:00

43 lines
1.4 KiB
Plaintext

export class FontFaceObject {
constructor(translatedData: any, { disableFontFace, inspectFont }: {
disableFontFace?: boolean | undefined;
inspectFont?: null | undefined;
});
compiledGlyphs: any;
disableFontFace: boolean;
_inspectFont: any;
createNativeFontFace(): FontFace | null;
createFontFaceRule(): string | null;
getPathGenerator(objs: any, character: any): any;
}
export class FontLoader {
constructor({ ownerDocument, styleElement, }: {
ownerDocument?: Document | undefined;
styleElement?: null | undefined;
});
_document: Document;
nativeFontFaces: Set<any>;
styleElement: HTMLStyleElement | null;
loadingRequests: any[] | undefined;
loadTestFontId: number | undefined;
addNativeFontFace(nativeFontFace: any): void;
removeNativeFontFace(nativeFontFace: any): void;
insertRule(rule: any): void;
clear(): void;
loadSystemFont({ systemFontInfo: info, _inspectFont }: {
systemFontInfo: any;
_inspectFont: any;
}): Promise<void>;
bind(font: any): Promise<void>;
get isFontLoadingAPISupported(): any;
get isSyncFontLoadingSupported(): any;
_queueLoadingCallback(callback: any): {
done: boolean;
complete: () => void;
callback: any;
};
get _loadTestFont(): any;
_prepareFontLoadEvent(font: any, request: any): void;
#private;
}