mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
Should solve a huge number of issues. The regular express based word matching from before was not good. It was overzealous and caused the most bugs of anything in the project. It also didn't work at all for languages like Chinese which don't have spaces between words. The new wrapping algorithm supports all of this. It is a separate module at http://github.com/devongovett/linebreak.
40 lines
860 B
JSON
40 lines
860 B
JSON
{
|
|
"name": "pdfkit",
|
|
"description": "A PDF generation library for Node.js",
|
|
"keywords": [
|
|
"pdf",
|
|
"pdf writer",
|
|
"pdf generator",
|
|
"graphics",
|
|
"document",
|
|
"vector"
|
|
],
|
|
"version": "0.2.8",
|
|
"homepage": "http://pdfkit.org/",
|
|
"author": {
|
|
"name": "Devon Govett",
|
|
"email": "devongovett@gmail.com",
|
|
"url": "http://badassjs.com/"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/devongovett/pdfkit.git"
|
|
},
|
|
"bugs": "http://github.com/devongovett/pdfkit/issues",
|
|
"devDependencies": {
|
|
"coffee-script": ">=1.0.1"
|
|
},
|
|
"dependencies": {
|
|
"png-js": ">=0.1.0",
|
|
"linebreak": "~0.1.0"
|
|
},
|
|
"scripts": {
|
|
"prepublish": "coffee -o js -c lib/ && cp -r lib/font/data js/font/data",
|
|
"postpublish": "rm -rf ./js"
|
|
},
|
|
"main": "./js/document",
|
|
"engine": [
|
|
"node >= v0.6.0"
|
|
]
|
|
}
|