open-agreements
Version:
Open-source legal template filling CLI and library
12 lines • 609 B
TypeScript
import type { Document, Element } from '@xmldom/xmldom';
export interface GlyphFallbackReceipt {
fontFamily: string;
codePoint: 'U+2011';
replacements: number;
parts: string[];
}
export declare function validateNonbreakingHyphenFont(family: string): void;
export declare function hasNonbreakingHyphen(document: Document | Element): boolean;
/** Only split affected main-story runs; never discover or substitute host fonts. */
export declare function applyNonbreakingHyphenFont(document: Document, fontFamily: string): GlyphFallbackReceipt;
//# sourceMappingURL=nonbreaking-hyphen-font.d.ts.map