UNPKG

autokerning

Version:

autokerning computes suggested kerning values for glyph pairs from TrueType/OpenType fonts by rendering glyph bitmaps, applying a small Gaussian blur, and measuring pixel overlap across horizontal offsets. It can be used programmatically (as an imported E

4 lines 242 B
import { generateKerningTable } from "./generateKerningTable.js"; export { generateKerningTable }; export declare function getKerningTable(fontfile: string, pairs?: string[]): Promise<Record<string, number>>; //# sourceMappingURL=api.d.ts.map