gedcom-ts
Version:
TypeScript GEDCOM toolkit for browser apps: import .ged/.zip, edit typed genealogy data, and export GEDCOM or GEDZIP.
7 lines (6 loc) • 391 B
TypeScript
/** Injects fontkit from the host app (required when @pdf-lib/fontkit is an external). */
export declare function registerPdfFontkit(fontkit: unknown): void;
/** Loads @pdf-lib/fontkit only when embedding TTF/OTF (zh / ar / he). */
export declare function loadPdfFontkit(): Promise<unknown>;
/** Clears cached fontkit module (tests). */
export declare function clearPdfFontkitCache(): void;