From 4a46e87fe3759e02c9772e969646c49f8fbaf264 Mon Sep 17 00:00:00 2001 From: Michal Wolny Date: Wed, 13 Jan 2021 19:18:33 +0100 Subject: [dev-iconfont-generation] add svg font generation, adjust ascent to work for mac os notepad --- gulpfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index 64a13c2c..86fc12be 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -260,11 +260,12 @@ gulp.task('iconfont', function () { .pipe(iconfont({ fontName: 'tabler-icons', prependUnicode: true, - formats: ['ttf', 'eot', 'woff', 'woff2'], + formats: ['ttf', 'eot', 'woff', 'woff2', 'svg'], normalize: true, startUnicode: maxUnicode, fontHeight: 1000, - descent: 100 + descent: 100, + ascent: 986.5 })) .on('glyphs', function (glyphs, options) { //glyphs json -- cgit v1.2.1