gulp-svg2ttf
Version:
Create a TTF font from an SVG font
15 lines (14 loc) • 528 B
TypeScript
import Stream from 'node:stream';
export type GulpSVG2TTFOptions = {
ignoreExt?: boolean;
clone?: boolean;
timestamp?: number;
copyright?: string;
version?: string;
};
declare function svg2ttfTransform(options: GulpSVG2TTFOptions): (err: Error | null, buf: Buffer, cb: (err: Error | null, buf?: Buffer) => void) => void;
declare function svg2ttfGulp(options: GulpSVG2TTFOptions): Stream.Transform;
declare namespace svg2ttfGulp {
var fileTransform: typeof svg2ttfTransform;
}
export default svg2ttfGulp;