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

5 lines (4 loc) 183 B
import { generateKerningTable } from "./generateKerningTable.js"; export { kernPair } from "./kernPair.js"; export { renderGlyph } from "./glyph.js"; export { generateKerningTable };