{"name":"svg2ttf","version":"4.3.0","description":"Converts SVG font to TTF font","keywords":["font","ttf","svg","convertor"],"author":{"name":"Sergey Batishchev","email":"sergej.batishchev@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/fontello/svg2ttf.git"},"bin":{"svg2ttf":"./svg2ttf.js"},"scripts":{"lint":"eslint .","test":"npm run lint && mocha","update_fixture":"./svg2ttf.js --ts 1457357570703 test/fixtures/test.svg test/fixtures/test.ttf"},"dependencies":{"argparse":"^1.0.6","cubic2quad":"^1.0.0","lodash":"^4.17.10","microbuffer":"^1.0.0","svgpath":"^2.1.5","xmldom":"~0.1.22"},"devDependencies":{"eslint":"^5.10.0","mocha":"^6.0.0"},"gitHead":"30c6460525098e8f44707794a539087b3c8ffb33","bugs":{"url":"https://github.com/fontello/svg2ttf/issues"},"homepage":"https://github.com/fontello/svg2ttf#readme","_id":"svg2ttf@4.3.0","_npmVersion":"6.4.1","_nodeVersion":"10.15.3","_npmUser":{"name":"vitaly","email":"vitaly@rcdesign.ru"},"dist":{"integrity":"sha512-LZ0B7zzHWLWbzLzwaKGHQvPOuxCXLReIb3LSxFSGUy1gMw2Utk6KGNbTmbmRL6Rk1qDSmTixnDrQgnXaL9n0CA==","shasum":"433440c7e9062f8fdcec3cad721cd08a2c7e51e3","tarball":"http://registry-npm.ywwl.com/svg2ttf/download/svg2ttf-4.3.0.tgz","fileCount":24,"unpackedSize":78658,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc6CDCCRA9TVsSAnZWagAAm2kP/Azn/dGQeeXe4ZkDhAuL\nVJ2GLSGnVW8wg+d/xSftxDKhk+E7Klop1WNVZrUXWHbRflI4jK1zVXaWdrWb\njRvQP3wz+E8pf1QmKzIWIGLYAWCMvzVxrIkIS3ZB6zIRM5DHy/76vtEo/F6G\nIZq3on1gjNHZuT8jbZWD+brCmLH6Co9Ghb/aXvQXR5HTJyIqO9hvg0nJhaYA\nEzAaqM+s1mb8aBpRXQ9P9o5sKGz+T7/lpqinDZkhEpqzzEkQYP3rNo1L/FSi\nQpjxHzKEQynILXqEcHiJ3uT89b+nff2zVIUKy8QWkNRC92ypMu4SzoOZB1P/\n6XvoyqeHPCMpmE9xoCMw8bY3GFuGbeQovYi6F2IbaNnW6e75WTzPEVYBQigm\nprrepkmlsdS0s+joCSvF5MfFGo9z9Co5dlP9CbguRmDrFpDx3i/hDnMI0loi\nlA0gdjHXgRwIl2Dz3OFdxv/w+xCbdDav+iuKqPNUBavxGv7N/vKh2qfgBQYP\nVKOsTLdWOZvo3HPt945hQWKC+RBRZqf7O9yEP+afCrsgpFJztiTCswhioKm8\nEXMw/u8Ui4klLIlB4pkNGr99csgy7aw0ElrKTsdhbGbL0JLL5JZTpl0Yad1G\nn1/zGVo09X3V3uWZY7imtfqBERktlHz76MGgMxCo08Sb7Q8yXusnIOGDVRJz\nOl9s\r\n=VrdR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGwx3hHZIYmSNCzXDIzUcf5gEoFdv8VgcECJQX/rJa38AiAOfG0q63soEBE7Wg0IOsOIfbctxN9MpuQjRLJpDZ91GA=="}],"size":21517,"noattachment":false,"key":"/svg2ttf/-/svg2ttf-4.3.0.tgz"},"maintainers":[{"name":"vitaly","email":"vitaly@rcdesign.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svg2ttf_4.3.0_1558716609404_0.46497593192440245"},"_hasShrinkwrap":false,"readme":"svg2ttf\n=======\n\n[![CI](https://github.com/fontello/svg2ttf/actions/workflows/ci.yml/badge.svg)](https://github.com/fontello/svg2ttf/actions/workflows/ci.yml)\n[![NPM version](https://img.shields.io/npm/v/svg2ttf.svg?style=flat)](https://www.npmjs.org/package/svg2ttf)\n\n> Converts SVG fonts to TTF format. It was initially written for\n[Fontello](http://fontello.com), but you can find it useful for your projects.\n\n__For developpers:__\n\nInternal API is similar to FontForge's one. Since primary goal\nis generating iconic fonts, sources can lack some specific TTF/OTF features,\nlike kerning and so on. Anyway, current code is a good base for development,\nbecause it will save you tons of hours to implement correct writing & optimizing\nTTF tables.\n\n\nUsing from CLI\n----------------\n\nInstall:\n\n``` bash\nnpm install -g svg2ttf\n```\n\nUsage example:\n\n``` bash\nsvg2ttf fontello.svg fontello.ttf\n```\n\n\nAPI\n---\n\n### svg2ttf(svgFontString, options) -> buf\n\n- `svgFontString` - SVG font content\n- `options`\n  - `copyright` - copyright string (optional)\n  - `description` - description string (optional)\n  - `ts` - Unix timestamp (in seconds) to override creation time (optional)\n  - `url` - manufacturer url (optional)\n  - `version` - font version string, can be `Version x.y` or `x.y`.\n- `buf` - internal [byte buffer](https://github.com/fontello/microbuffer)\n   object, similar to DataView. It's `buffer` property is  `Uin8Array` or `Array`\n   with ttf content.\n\nExample:\n\n``` javascript\nvar fs = require('fs');\nvar svg2ttf = require('svg2ttf');\n\nvar ttf = svg2ttf(fs.readFileSync('myfont.svg', 'utf8'), {});\nfs.writeFileSync('myfont.ttf', new Buffer(ttf.buffer));\n```\n\n\n## svg2ttf for enterprise\n\nAvailable as part of the Tidelift Subscription.\n\nThe maintainers of `svg2ttf` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-svg2ttf?utm_source=npm-svg2ttf&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)\n","publish_time":1558716609609,"_cnpm_publish_time":1558716609609,"dist-tags":{"latest":"6.1.0"}}