Automattic / Automattic/node-canvas
PDFJS renders a blank canvas in node environment, if scale >= 9.49
- Dominant language
- JavaScript
- Stars
- 10.7k
- Forks
- 1.2k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
I have a problem with PDF.js, and it's node specific. In web-browsers, everything works fine.
I opened an issue on their github page, and they suggested I open up a new issue for node-canvas, because it feels like the problem is in this package.
Long story short: under certain circumstances, the node-canvas becomes blank when using the same parameters, and same code the "native" canvas have visible pixels in web-browsers.
You can find all the details here: https://github.com/mozilla/pdf.js/issues/17188
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the linked PDF.js issue and reduce its Node/PDF.js case to a reproducible node-canvas example. Check the behavior at scale >= 9.49 against the browser result; done means the same parameters no longer produce a blank canvas in Node.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100