Arunoda Susiripala
May 19, 2013
PhantomJS with Webfonts Support - Binary Build
PhantomJS is a Web Browser without a GUI which can be programmable with JavaScript. It is very useful for automated testing, screen capturing, automation and for so many other use cases.
But by default PhantomJS does not work with WebFonts. There are few github issues and fixes regarding this, but it not yet fixed in the core. Fortunately there is a really nice guide about enabling WebFonts support for PhantomJS. It works (atleast for me).
But you’ve to build it from the source and it takes considerable amount of time. Fortunately (for you) I have already build them for OSX and Linux. So you can directly use following binaries which has WebFonts support.