Optimized base64 encoding & client fontface generation