Node canvas is a Cairo backed Canvas implementation for NodeJS.
Bot releases are hidden (Show)
Note: this is the first version with prebuilds for Node.js v20.
Published by chearon over 1 year ago
canvas
to the CanvasRenderingContext2D
typeletter-spacing
effectctx.font
not being restored correctly after ctx.restore()
(#1946)Published by zbjornson almost 2 years ago
Assertion failed: (object->InternalFieldCount() > 0), function Unwrap, file nan_object_wrap.h, line 32.
(#2025)textBaseline
and textAlign
were not saved/restored by save()
/restore()
. (#1936)save()
/restore()
.save()
/restore()
no longer have a maximum depth (previously 64 states).Published by zbjornson about 2 years ago
pangoVersion
ctx.roundRect()
rgba(r,g,b)
with no alpha should parse as opaque, not transparent. (#2029)PngConfig.filters
types. (#2072)createPattern()
always used "repeat" mode; now supports "repeat-x" and "repeat-y". (#2066)context.arc()
. (#2055)context.arc()
geometry logic for full ellipses. (#1808, (#1736))deregisterAllFonts
to the Typescript declaration file (#2096)User-Agent
header when requesting remote images (#2099)Published by zbjornson over 2 years ago
toupper
.getImageData
or putImageData
is called on a PDF or SVG canvas (#1853)Published by zbjornson almost 3 years ago
DOMPoint()
constructor to check for parameter nullability.DOMMatrix.js
to use string literals for non-special cases.deregisterAllFonts
method to free up memory and reduce font conflicts./opt/homebrew/lib
Published by zbjornson over 3 years ago
node_pre_gyp_accessKeyId
, you may need to make changes to yournBytes()
now returns a size_t. (Because this is a C++inverse()
and invertSelf()
to DOMMatrix
(#1648)context.getTransform()
(#1769)context.setTransform(dommatrix)
(#1769)actualBoundingBoxLeft
and actualBoundingBoxRight
returned by measureText
to be the ink rect (#1776, fixes #1703).Published by zbjornson over 3 years ago
Note: This is the first prebuild served from Automattic/node-canvas. Previous release prebuilds are served from https://github.com/node-gfx/node-canvas-prebuilt/releases.