I want to test https://github.com/mapbox/canvas-linechart
- node-canvas works immediately but renders fonts very incorrectly. this is a known bug, Automattic/node-canvas#624 with no solution yet
- rewinding node-canvas to an earlier version just makes it crash
next: electron. possibly possible but would probably require video drivers on travis, which sucks.
next: phantomjs. not compatible with my boring old commmonjs modules. useful methods like evaluateJavascript are documented but not present.
right now i've got:
- phantomjs module
- tape module that runs a phantomjs harness script
but passing variables between phantomjs and node space is near-impossible and the magic that it's trying to pull off is entirely evil.
next: maybe omgcanvas will work: nope, only runs within plask
maybe electron will save the day: no. binary incompatibility means that i can't use node-mapnik with it.