aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorMichal Wolny <michal.wolny@versum.pl>2021-01-13 19:18:33 +0100
committerMichal Wolny <michal.wolny@versum.pl>2021-01-13 19:18:33 +0100
commit4a46e87fe3759e02c9772e969646c49f8fbaf264 (patch)
treefaac8dec1fb5c21374ad83a370c1da9ab2b17e2c /gulpfile.js
parent[dev-iconfont-generation] descent font a little (diff)
downloadtabler-icons-4a46e87fe3759e02c9772e969646c49f8fbaf264.tar.xz
[dev-iconfont-generation] add svg font generation, adjust ascent to work for mac os notepad
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js5
1 files changed, 3 insertions, 2 deletions
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