Compile fix for Linux in relation to fonts. Remove unused font code