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 212 B
import * as opentype from "opentype.js"; /** Calibrate the kernel width and find overlap thresholds */ export declare function findS(font: opentype.Font): [number, number]; //# sourceMappingURL=calibrate.d.ts.map