skia-canvas icon indicating copy to clipboard operation
skia-canvas copied to clipboard

Problem with DOMMatrix polyfill ?

Open renambot opened this issue 2 years ago • 0 comments

Wondering if there's a bug in the toSkMatrix function. I think maybe if (jsMatrix instanceof geometry.DOMMatrix) should be if (jsMatrix instanceof DOMMatrix)

I'm rendering a PDF file (with PDFjs lib) using skia-canvas and it works fine, except sometimes it crashes in toSkMatrix function, because there's no 'true' path in the tests. If I update with jsMatrix instanceof DOMMatrix it works fine.

renambot avatar Dec 10 '22 00:12 renambot