1
0
mirror of https://github.com/tabler/tabler-icons.git synced 2025-08-30 17:20:31 +02:00

fix: webfont icons has wrong width

fixes: #14, #507
This commit is contained in:
codecalm
2023-02-22 23:43:07 +01:00
parent d9e4fbf553
commit 674f6da275
2 changed files with 4 additions and 4 deletions

View File

@@ -28,11 +28,11 @@ const buildOutline = async () => {
}
await outlineStroke(contents, {
optCurve: false,
optCurve: true,
steps: 4,
round: 0,
centerHorizontally: true,
fixedWidth: true,
fixedWidth: false,
color: 'black'
}).then(outlined => {
if (unicode) {

View File

@@ -16,8 +16,8 @@ webfont({
normalize: true,
fontHeight,
descent: 100,
ascent: 986.5,
fixedWidth: true
ascent: 900,
fixedWidth: false
})
.then((result) => {
formats.forEach(format => {