How to Update Modernizr to Support woff2

  • Posted in : Readme
  • Collin
    Participant

    I have update my site (collinmbarrett.com) to use the .woff2 format of Fontello for a bandwidth decrease. However, the build of modernizr shipped with the current version of Readme still forces a download of the .woff format as well even on .woff2 capable browsers. How can I go about modifiying or replacing modernizr with a build that does not force the download of the .woff version any more? Thanks.

    Collin
    Participant

    Oh, disregard.

    I had deregistered the provided fontello.css in my child theme’s functions.php, but either my fastcgi or redis cache hadn’t been purged. Now, since fontello.css is not loading, modernizr is not calling the original .woff file either.

    Thanks.

    Collin
    Participant

    and it seems conversion of fontello to woff2 is not really possible. i tried converting through font squirrel, but the rendered symbols were cryptic/incorrect. guess I’ll stick with woff. i’m just a performance junkie.

    continued thanks for the great theme!

    ahmetsali
    Keymaster

    Hi, thanks for sharing your experience.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register