A fontHeight of at least than 1000 is recommended, otherwise further steps (rounding in svg2ttf) could lead to ugly results. Use the fontHeight option to scale icons.
Font created
SUCCESS SVG font successfully created!
╰┈▶ /Users/lecykx/Documents/code/digital-diy/packages/service/storage/diy/iconfont/1/dlifeFont.svg
SUCCESS TTF font successfully created!
╰┈▶ /Users/lecykx/Documents/code/digital-diy/packages/service/storage/diy/iconfont/1/dlifeFont.ttf
SUCCESS EOT font successfully created!
╰┈▶ /Users/lecykx/Documents/code/digital-diy/packages/service/storage/diy/iconfont/1/dlifeFont.eot
SUCCESS WOFF font successfully created!
╰┈▶ /Users/lecykx/Documents/code/digital-diy/packages/service/storage/diy/iconfont/1/dlifeFont.woff
SUCCESS WOFF2 font successfully created!
╰┈▶ /Users/lecykx/Documents/code/digital-diy/packages/service/storage/diy/iconfont/1/dlifeFont.woff2
SvgToFont:CLI:ERR: Error: Unmatched selector: ="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
at parse (/Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/css-what/lib/commonjs/parse.js:85:15)
at Object.select (/Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/cheerio-select/lib/https:/raw.githubusercontent.com/cheeriojs/cheerio-select/ef063a6ca4c3f0d02d2fc3505e750b6fb81c448d/src/index.ts:213:51)
at LoadedCheerio.find (/Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/cheerio/lib/api/https:/raw.githubusercontent.com/cheeriojs/cheerio/d1cbc66d53392ce8bf6cd0068f675836372d2bf3/src/api/traversing.ts:82:28)
at initialize (/Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/cheerio/lib/https:/raw.githubusercontent.com/cheeriojs/cheerio/d1cbc66d53392ce8bf6cd0068f675836372d2bf3/src/load.ts:219:28)
at /Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/svgtofont/src/utils.ts:232:23
at Array.forEach ()
at /Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/svgtofont/src/utils.ts:229:33
at new Promise ()
at createSvgSymbol (/Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/svgtofont/src/utils.ts:228:10)
at exports.default (/Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/svgtofont/src/index.ts:246:26)
node:internal/process/promises:288
triggerUncaughtException(err, true / fromPromise /);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".] {
code: 'ERR_UNHANDLED_REJECTION'
}
A fontHeight of at least than 1000 is recommended, otherwise further steps (rounding in svg2ttf) could lead to ugly results. Use the fontHeight option to scale icons. Font created SUCCESS SVG font successfully created! ╰┈▶ /Users/lecykx/Documents/code/digital-diy/packages/service/storage/diy/iconfont/1/dlifeFont.svg SUCCESS TTF font successfully created! ╰┈▶ /Users/lecykx/Documents/code/digital-diy/packages/service/storage/diy/iconfont/1/dlifeFont.ttf SUCCESS EOT font successfully created! ╰┈▶ /Users/lecykx/Documents/code/digital-diy/packages/service/storage/diy/iconfont/1/dlifeFont.eot SUCCESS WOFF font successfully created! ╰┈▶ /Users/lecykx/Documents/code/digital-diy/packages/service/storage/diy/iconfont/1/dlifeFont.woff SUCCESS WOFF2 font successfully created! ╰┈▶ /Users/lecykx/Documents/code/digital-diy/packages/service/storage/diy/iconfont/1/dlifeFont.woff2 SvgToFont:CLI:ERR: Error: Unmatched selector: ="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
at parse (/Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/css-what/lib/commonjs/parse.js:85:15) at Object.select (/Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/cheerio-select/lib/https:/raw.githubusercontent.com/cheeriojs/cheerio-select/ef063a6ca4c3f0d02d2fc3505e750b6fb81c448d/src/index.ts:213:51) at LoadedCheerio.find (/Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/cheerio/lib/api/https:/raw.githubusercontent.com/cheeriojs/cheerio/d1cbc66d53392ce8bf6cd0068f675836372d2bf3/src/api/traversing.ts:82:28) at initialize (/Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/cheerio/lib/https:/raw.githubusercontent.com/cheeriojs/cheerio/d1cbc66d53392ce8bf6cd0068f675836372d2bf3/src/load.ts:219:28) at /Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/svgtofont/src/utils.ts:232:23 at Array.forEach ()
at /Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/svgtofont/src/utils.ts:229:33
at new Promise ()
at createSvgSymbol (/Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/svgtofont/src/utils.ts:228:10)
at exports.default (/Users/lecykx/Documents/code/digital-diy/packages/service/node_modules/svgtofont/src/index.ts:246:26)
node:internal/process/promises:288
triggerUncaughtException(err, true / fromPromise /);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".] { code: 'ERR_UNHANDLED_REJECTION' }
Node.js v18.12.1