Calculate compressor ratio automatically

I've added in a few lines in order to calculate correct compressor ratio on the fly rather than having to manually configure the plugin for each typeface. 

Probably also worth pointing out that removing the compressor attribute changes the API.