Site logo

[Support request] Declaring fonts in the recommended order

Home Forums Support [Support request] Declaring fonts in the recommended order

Home Forums Support Declaring fonts in the recommended order

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2120611
    vast

    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}

    #2120813
    David
    Staff
    Customer Support

    Hi there,

    thanks for pointing that out – we’ll take a look!

    #2121634
    vast

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

    #2122076
    Tom
    Lead Developer
    Lead Developer

    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.

    #2122178
    vast

    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.

    #2123561
    Tom
    Lead Developer
    Lead Developer

    Appreciate the feedback – thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.