wch / webshot

Take screenshots of web pages from R
http://wch.github.io/webshot/
227 stars 40 forks source link

Install phantomjs 2.5.0-beta on Windows #102

Closed wch closed 3 years ago

wch commented 3 years ago

Phantomjs 2.1.1 on Windows has some problems rendering certain fonts (e.g., many Font-Awesome icons, and some bold fonts), and using 2.5.0-beta fixes some of these issues. (Note that we tried 2.5.0-beta2 on Windows, and it did not work properly.)

This PR does not cause 2.5.0-beta to install on Mac and Linux. On Mac, running phantomjs simply crashes, and on Linux, it doesn't run on newer versions due to dynamic linking to an old version of libpng which is not present.