@pixi/msdf-bmfont-xml
Version:
Creates a BMFont compatible bitmap font of Signed-Distance Fields from a font file
68 lines (67 loc) • 2.33 kB
JSON
{
"name": "@pixi/msdf-bmfont-xml",
"version": "3.0.0",
"description": "Creates a BMFont compatible bitmap font of Signed-Distance Fields from a font file",
"main": "index.js",
"scripts": {
"debug": "cd test/assets/fonts && node --inspect-brk=9229 ../../../cli.js -f json -o font -u -m 512,256 -t msdf -s 42 -r 5 -p 2 --smart-size --pot ../../../assets/fonts/DIN_CB.ttf",
"test": "npm run test:disk && npm run test:memory",
"test:disk": "cd test/assets/fonts && node ../../../cli.js -f xml -o DIN_CB -v -u -m 512,256 -t msdf -s 42 -r 4 -p 2 --smart-size --pot ../../../assets/fonts/DIN_CB.ttf",
"test:memory": "node test/test_memory.js",
"test:rtl": "cd test/assets/fonts && node ../../../cli.js -f xml -o Iransans -i ../../../assets/charset/charset.persian.txt -v -u -m 512,256 -t msdf -s 42 -r 4 -p 2 --smart-size --pot ../../../assets/fonts/Iransans.ttf",
"test:save": "cd test/assets/fonts && node ../../../cli.js -o DIN_CB -u -m 512,256 --smart-size --pot ../../../assets/fonts/DIN_CB.ttf",
"test:reuse": "cd test/assets/fonts && node --inspect-brk=9229 ../../../cli.js -u DIN_CB.cfg ../../../assets/fonts/FiraSansMedium.woff",
"render": "npm run test:disk && node test/test.js"
},
"bin": {
"msdf-bmfont": "./cli.js"
},
"author": {
"name": "YM Shen",
"email": "soimy@163.com",
"url": "https://github.com/soimy"
},
"keywords": [
"bmfont",
"bitmap",
"font",
"text",
"fonts",
"signed",
"distance",
"field",
"glyph",
"glyphs",
"sdf",
"msdf",
"multichannel"
],
"repository": {
"type": "git",
"url": "git://github.com/pixijs/msdf-bmfont-xml.git"
},
"homepage": "https://github.com/pixijs/msdf-bmfont-xml",
"bugs": {
"url": "https://github.com/pixijs/msdf-bmfont-xml/issues"
},
"license": "MIT",
"dependencies": {
"arabic-persian-reshaper": "^1.0.1",
"cli-progress": "^3.12.0",
"commander": "^14.0.0",
"handlebars": "^4.7.7",
"is-invalid-path": "^1.0.2",
"jimp": "^1.6.0",
"js2xmlparser": "^5.0.0",
"map-limit": "0.0.1",
"maxrects-packer": "^2.7.3",
"opentype.js": "^0.11.0"
},
"devDependencies": {
"open": "^10.1.2",
"rimraf": "^6.0.1",
"run-parallel": "^1.2.0",
"serve-handler": "^6.1.6",
"typescript": "^3.9.10"
}
}