gedcom-ts
Version:
TypeScript GEDCOM toolkit for browser apps: import .ged/.zip, edit typed genealogy data, and export GEDCOM or GEDZIP.
6 lines (5 loc) • 384 B
TypeScript
import type { BookletLocale } from './booklet-locale';
/** Reorders mixed RTL/LTR text for pdf-lib (LTR drawText positions). */
export declare function toPdfVisualLine(text: string, locale?: BookletLocale): string;
/** Applies Arabic joining forms (Presentation Forms-B) before PDF drawText. */
export declare function shapeScriptForPdf(text: string, locale?: BookletLocale): string;