skia-canvas
Advanced tools
Comparing version 0.9.1 to 0.9.2
{ | ||
"name": "skia-canvas", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "An offscreen canvas for Node", | ||
@@ -8,2 +8,10 @@ "main": "lib/index.js", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/samizdatco/skia-canvas.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/samizdatco/skia-canvas/issues" | ||
}, | ||
"homepage": "https://github.com/samizdatco/skia-canvas#readme", | ||
"scripts": { | ||
@@ -10,0 +18,0 @@ "install": "neon build" |
@@ -165,3 +165,3 @@ # Skia Canvas | ||
The standard canvas has a rather impoverished typesetting system, allowing for only a single line of text and an approach to width-management that horizontally scales the letterforms (a type-crime if ever there was one). Skia Canvas allows you to opt-out of this single-line world by setting the `.textWrap` property to `true`. Doing so affects the behavior of the `drawText()` and `measureText()` methods as described below. | ||
The standard canvas has a rather impoverished typesetting system, allowing for only a single line of text and an approach to width-management that horizontally scales the letterforms (a type-crime if ever there was one). Skia Canvas allows you to opt-out of this single-line world by setting the `.textWrap` property to `true`. Doing so affects the behavior of the `fillText()`, `strokeText()`, and `measureText()` methods as described below. | ||
@@ -173,3 +173,3 @@ ##### `fillText(str, x, y, [width])` & `strokeText(str, x, y, [width])` | ||
1. Manual line breaking via `"\n"` escapes will be honored rather than converted to spaces | ||
2. The optional `width` argument accepted by `drawText` and `measureText` will be interpreted as a âcolumn widthâ and used to word-wrap long lines | ||
2. The optional `width` argument accepted by `fillText`, `strokeText` and `measureText` will be interpreted as a âcolumn widthâ and used to word-wrap long lines | ||
3. The line-height setting in the `.font` value will be used to set the inter-line leading rather than simply being ignored. | ||
@@ -176,0 +176,0 @@ |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
290285
0
1
2