Minimizing icon font size in Pelican



Looking at my assets required for this site, I knew FontAwesome was taking up bloat. I was including the whole font! But I'm using a small portion. It consumed 76kb! So I searched for how to make it smaller.

Fontello

Fontello is a sweet little website! It has aggregated a number of icon fonts, allowing you to pick and choose the icons you want, and builds you all files you'll need to use as a WebFont.

How awesome!

So I picked away and took my first stab at switching over. I didn't do a perfect job and it needs another rework, but here's what I accomplished

FontAwesome .woff2 77.2kb

MyIconFont .woff2 10.4kb

Pages before assets are now roughly 20kb.

melts

Comments are loading... I hope ;)