3 ms·
The thing with phantomjs and webfonts is that it has an old webkit version which has some bugs with webfont support. Theres a branch from a phantomjs contribut
by d4n3 12y ago
The thing with phantomjs and webfonts is that it has an old webkit version which has some bugs with webfont support.
Theres a branch from a phantomjs contributor on github that has bugfixes for webfonts support backported:
https://github.com/Vitallium/phantomjs/tree/fix-WOFF-file-support https://github.com/Vitallium/phantomjs/tree/fix-WOFF-file-su...
I use phantomjs for html to image rendering and I managed to get webfont support working with a custom build from that branch (working on Heroku)
- warfangle 12y agoPhantomJS is falling further and further behind. It also doesn't, for example, support scripts triggered DOM events. The more time goes by, the more I'm considering removing it from our testing suite.