fix #473: icon position and size changed with version 2
This commit is contained in:
parent
1c28c59198
commit
d2e9ed0d1b
|
|
@ -19,8 +19,8 @@ const buildOutline = async () => {
|
|||
await console.log('Stroke for:', name, unicode)
|
||||
|
||||
contents = contents
|
||||
.replace('width="24"', 'width="768"')
|
||||
.replace('height="24"', 'height="768"')
|
||||
.replace('width="24"', 'width="1000"')
|
||||
.replace('height="24"', 'height="1000"')
|
||||
|
||||
if (compileOptions.strokeWidth) {
|
||||
contents = contents
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { getPackageDir, getPackageJson, PACKAGES_DIR } from '../../../.build/hel
|
|||
const formats = ['ttf', 'eot', 'woff', 'woff2']
|
||||
const p = getPackageJson()
|
||||
const DIR = getPackageDir('icons-webfont')
|
||||
const fontHeight = 768
|
||||
const fontHeight = 1000
|
||||
|
||||
webfont({
|
||||
files: 'icons-outlined/*.svg',
|
||||
|
|
|
|||
Loading…
Reference in New Issue