Site logo

Archived topic

Declaring fonts in the recommended order

5 replies · Started by vast on February 16, 2022

Viewing posts 1–6 of 6

It seems that GeneratePress isn't generating fonts in the recommended order - Reference

The current output is @font-face{font-family:'GP Premium';src:url(gp-premium.eot);src:url(gp-premium.eot#iefix) format('embedded-opentype'),url(gp-premium.ttf) format('truetype'),url(gp-premium.woff) format('woff'),url(gp-premium.svg#gp-premium) format('svg');font-weight:400;font-style:normal}

Hi there,

thanks for pointing that out - we'll take a look!

Thanks David. Would you have an ETA for an update?

Thanks for the heads up! We'll look at reordering things in GPP 2.2.0.

Is there a particular reason why you prefer to use the icon fonts vs SVG option? SVG should be quite a bit faster.

Thanks Tom. It depends since fonts are typically optimized by the operating system and generally perform better than SVG. Secondly, DOM sizes can vary depending on the adoption of SVG.

Appreciate the feedback - thanks!

This archived topic is closed to new replies.