Problem with DOMMatrix polyfill ?
Opened this issue · 0 comments
renambot commented
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.