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
20 lines • 644 B
TypeScript
export declare const FONT_SIZE: number;
export declare const BLUR_SIGMA_FACTOR: number;
export declare const MAX_KERN: number;
export declare const KERN_STEP: number;
export declare const DEBUG_STEP: number;
export declare const SELECTION_STRATEGY: string;
export declare const NO_OVERLAP_EPS: number;
export declare const KERNEL_WIDTH: number;
declare const _default: {
FONT_SIZE: number;
BLUR_SIGMA_FACTOR: number;
MAX_KERN: number;
KERN_STEP: number;
DEBUG_STEP: number;
KERNEL_WIDTH: number;
SELECTION_STRATEGY: string;
NO_OVERLAP_EPS: number;
};
export default _default;
//# sourceMappingURL=config.d.ts.map