pdfjs-dist
Version:
Generic build of Mozilla's PDF.js library.
20 lines (19 loc) • 711 B
TypeScript
export class FontFaceObject {
constructor(translatedData: any, { isEvalSupported, disableFontFace, ignoreErrors, onUnsupportedFeature, fontRegistry, }: {
isEvalSupported?: boolean | undefined;
disableFontFace?: boolean | undefined;
ignoreErrors?: boolean | undefined;
onUnsupportedFeature: any;
fontRegistry?: any;
});
compiledGlyphs: any;
isEvalSupported: boolean;
disableFontFace: boolean;
ignoreErrors: boolean;
_onUnsupportedFeature: any;
fontRegistry: any;
createNativeFontFace(): any;
createFontFaceRule(): string | null;
getPathGenerator(objs: any, character: any): any;
}
export let FontLoader: any;