Skip to content

Commit 5e68fa1

Browse files
committed
version 0.9.31-rc3
1 parent 4fe3e6b commit 5e68fa1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@
77

88
### Bugfixes
99
- The `FontLibrary.reset()` method didn't actually remove previously installed fonts that had already been drawn with (and thus cached). It now clears those caches, which also means previously used fonts can now be replaced by calling `.use()` again with the same family name.
10+
- The [`.drawCanvas()`][drawCanvas] routine now applies filter effects and shadows consistent with the current resolution and transformation state.
11+
12+
### Misc. Improvements
13+
- The [`.filter`][filter] property's `"blur(…)"` and `"drop-shadow(…)"` effects now match browser behavior much more closely and scale appropriately with the `density` export option.
14+
- Antialiasing is smoother, particularly when down-scaling images, thanks to the use of mipmaps rather than Skia's (apparently buggy?) implementation of bucubic interpolation.
1015

1116
[canvas_gpu]: https://github.com/samizdatco/skia-canvas#gpu
17+
[filter]: https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/filter
1218

1319
## 📦 ⟩ [v0.9.30] ⟩ Jun 7, 2022
1420

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "skia-canvas",
3-
"version": "0.9.31-rc2",
3+
"version": "0.9.31-rc3",
44
"description": "A canvas environment for Node",
55
"author": "Christian Swinehart <drafting@samizdat.co>",
66
"license": "MIT",

0 commit comments

Comments
 (0)