Skip to content

Commit

Permalink
0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Jul 30, 2021
1 parent d1daa2a commit f2f29b4
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 10 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# [0.1.0](https://github.com/Brooooooklyn/canvas/compare/v0.0.12...v0.1.0) (2021-07-30)

### Bug Fixes

- canvas.png() to canvas.encode('png') ([b2d5afe](https://github.com/Brooooooklyn/canvas/commit/b2d5afeee91245fe226212e418fe62e16a238f91))
- multi font families ([2e934a5](https://github.com/Brooooooklyn/canvas/commit/2e934a5837f51b62b46172e608a6d34e4413d9f9))
- sample image size update ([8b0b147](https://github.com/Brooooooklyn/canvas/commit/8b0b1475112dd409c9e2652a5cd0bbdac3d772be))

### Features

- add .asWinding() to convert the sample image of SVG filltype ([f9f0d2b](https://github.com/Brooooooklyn/canvas/commit/f9f0d2bdf452a54c2606d55e47387371f37697ab))
- add basic measureText setup ([e1fc0bf](https://github.com/Brooooooklyn/canvas/commit/e1fc0bf2647c3e76cff8089d15078f4e9d200e97))
- measureText with all textAlign and textBaseline ([1891d76](https://github.com/Brooooooklyn/canvas/commit/1891d76090ec093430d63a217fbe4515c758b2c7))
- support register font with family name alias ([4860c80](https://github.com/Brooooooklyn/canvas/commit/4860c80aa6dac4ca073e20a5d2654ef6535e54c2))
- support woff/woff2 fonts ([70b7aa2](https://github.com/Brooooooklyn/canvas/commit/70b7aa2430ed04251c0d5016658a8147a13c167b))
- svg canvas backend ([f95f67a](https://github.com/Brooooooklyn/canvas/commit/f95f67afd5c051c1cf33e783e452d477a9430cad))

## [0.0.12](https://github.com/Brooooooklyn/canvas/compare/v0.0.11...v0.0.12) (2021-07-14)

### Features
Expand Down
2 changes: 1 addition & 1 deletion npm/android-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@napi-rs/canvas-android-arm64",
"version": "0.0.12",
"version": "0.1.0",
"os": ["android"],
"cpu": ["arm64"],
"main": "skia.android-arm64.node",
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@napi-rs/canvas-darwin-arm64",
"version": "0.0.12",
"version": "0.1.0",
"os": ["darwin"],
"cpu": ["arm64"],
"main": "skia.darwin-arm64.node",
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@napi-rs/canvas-darwin-x64",
"version": "0.0.12",
"version": "0.1.0",
"os": ["darwin"],
"cpu": ["x64"],
"main": "skia.darwin-x64.node",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm-gnueabihf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@napi-rs/canvas-linux-arm-gnueabihf",
"version": "0.0.12",
"version": "0.1.0",
"os": ["linux"],
"cpu": ["arm"],
"main": "skia.linux-arm-gnueabihf.node",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@napi-rs/canvas-linux-arm64-gnu",
"version": "0.0.12",
"version": "0.1.0",
"os": ["linux"],
"cpu": ["arm64"],
"main": "skia.linux-arm64-gnu.node",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@napi-rs/canvas-linux-arm64-musl",
"version": "0.0.12",
"version": "0.1.0",
"os": ["linux"],
"cpu": ["arm64"],
"main": "skia.linux-arm64-musl.node",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@napi-rs/canvas-linux-x64-gnu",
"version": "0.0.12",
"version": "0.1.0",
"os": ["linux"],
"cpu": ["x64"],
"main": "skia.linux-x64-gnu.node",
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-x64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@napi-rs/canvas-linux-x64-musl",
"version": "0.0.12",
"version": "0.1.0",
"os": ["linux"],
"cpu": ["x64"],
"main": "skia.linux-x64-musl.node",
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@napi-rs/canvas-win32-x64-msvc",
"version": "0.0.12",
"version": "0.1.0",
"os": ["win32"],
"cpu": ["x64"],
"main": "skia.win32-x64-msvc.node",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@napi-rs/canvas",
"version": "0.0.12",
"version": "0.1.0",
"description": "Canvas for Node.js with skia backend",
"main": "index.js",
"repository": "https://github.com/Brooooooklyn/canvas.git",
Expand Down

0 comments on commit f2f29b4

Please sign in to comment.