Custom font css was not being applied to the button unless the font
already existed in your local font directory. Fonts from the CSS file
were not loaded.
Fix is to use svg2png which renders the svg buffer in PhantomJS and
pulls an image from there.
Also removed some extrenuous methods that cuased issues when applying
fix and were not being used anywhere.
Reviewers: @beerecca @dine @pietvanzoen @tjinauyeung
Custom font css was not being applied to the button unless the font already existed in your local font directory. Fonts from the CSS file were not loaded.
Fix is to use svg2png which renders the svg buffer in PhantomJS and pulls an image from there.
Also removed some extrenuous methods that cuased issues when applying fix and were not being used anywhere.
Closes https://usabilla.atlassian.net/browse/FOO-63