Support » Plugin: Fonts Plugin | Google Fonts Typography » Latest version is not tested with latest WP

  • Resolved Arnie

    (@arn1e)


    Latest version of Fonts Plugin Pro version 1.4.6 plugin is not tested with latest WordPress version 5.8.1, why not?
    I’m thinking this plugin was a waste of money and there is really no need for anyone to use it, I’m switching to Google’s gstatic which you can easily preload

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author DannyCooper

    (@dannycooper)

    Hi @arn1e,

    Fonts Plugin Pro is tested with 5.8 and 5.8.1. However a bug in our updater function caused the “non tested” error to incorrectly show. We’ve now fixed that.

    If you are having a problem with preloading, or would like a refund for your purchase please email team@fontsplugin.com and we will do everything we can to help.

    Thanks

    Thread Starter Arnie

    (@arn1e)

    Hi Danny
    Yes that’s sorted thanks but why do I get loads of these /wp-content/fontsplugin/open-sans/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0C4k.woff

    Always different when all I want is something like /wp-content/fontsplugin/open-sans/*.woff

    Plugin Author DannyCooper

    (@dannycooper)

    @arn1e, Google splits the font files in different ways depending on the browser and the unicode. For example if you look at this request you will see the different files for vary unicode ranges: https://fonts.googleapis.com/css?family=Open%20Sans

    /* cyrillic-ext */
    @font-face {
      font-family: 'Open Sans';
      font-style: normal;
      font-weight: 400;
      font-stretch: 100%;
      src: url(https://fonts.gstatic.com/s/opensans/v26/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4taVQUwaEQbjB_mQ.woff) format('woff');
      unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
    }
    /* cyrillic */
    @font-face {
      font-family: 'Open Sans';
      font-style: normal;
      font-weight: 400;
      font-stretch: 100%;
      src: url(https://fonts.gstatic.com/s/opensans/v26/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4kaVQUwaEQbjB_mQ.woff) format('woff');
      unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
    }
    /* greek-ext */
    @font-face {
      font-family: 'Open Sans';
      font-style: normal;
      font-weight: 400;
      font-stretch: 100%;
      src: url(https://fonts.gstatic.com/s/opensans/v26/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4saVQUwaEQbjB_mQ.woff) format('woff');
      unicode-range: U+1F00-1FFF;
    }
    /* greek */
    @font-face {
      font-family: 'Open Sans';
      font-style: normal;
      font-weight: 400;
      font-stretch: 100%;
      src: url(https://fonts.gstatic.com/s/opensans/v26/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4jaVQUwaEQbjB_mQ.woff) format('woff');
      unicode-range: U+0370-03FF;
    }
    /* hebrew */
    @font-face {
      font-family: 'Open Sans';
      font-style: normal;
      font-weight: 400;
      font-stretch: 100%;
      src: url(https://fonts.gstatic.com/s/opensans/v26/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4iaVQUwaEQbjB_mQ.woff) format('woff');
      unicode-range: U+0590-05FF, U+20AA, U+25CC, U+FB1D-FB4F;
    }
    /* vietnamese */
    @font-face {
      font-family: 'Open Sans';
      font-style: normal;
      font-weight: 400;
      font-stretch: 100%;
      src: url(https://fonts.gstatic.com/s/opensans/v26/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4vaVQUwaEQbjB_mQ.woff) format('woff');
      unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
    }
    /* latin-ext */
    @font-face {
      font-family: 'Open Sans';
      font-style: normal;
      font-weight: 400;
      font-stretch: 100%;
      src: url(https://fonts.gstatic.com/s/opensans/v26/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4uaVQUwaEQbjB_mQ.woff) format('woff');
      unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
    }
    /* latin */
    @font-face {
      font-family: 'Open Sans';
      font-style: normal;
      font-weight: 400;
      font-stretch: 100%;
      src: url(https://fonts.gstatic.com/s/opensans/v26/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjZ0B4gaVQUwaEQbjA.woff) format('woff');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }
    • This reply was modified 1 month, 2 weeks ago by DannyCooper.
    Thread Starter Arnie

    (@arn1e)

    So do I have to load all these for example including all the woff2 into my font preload?
    /wp-content/fontsplugin/open-sans/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0C4k.woff

    And what about this one /wp-content/themes/fairy-premium/candidthemes/assets/framework/Font-Awesome/fonts/fontawesome-webfont.woff2?v=4.7.0

    I tried /wp-content/themes/fairy-premium/candidthemes/assets/framework/Font-Awesome/fonts/fontawesome-webfont.woff2
    but it didn’t work

    Thanks Danny

    Plugin Author DannyCooper

    (@dannycooper)

    A typical preload tag looks like this:

    <link rel="preload" href="/wp-content/fontsplugin/open-sans/memSYaGs126MiZpBA-UvWbX2vVnXBbObj2OVZyOOSr4dVJWUgsjr0C4k.woff" as="font" type="font/woff" crossorigin>

    The as=”font” tells the web browser that this is a font file and it might want to prfioritize the loading of it so it can render the font as soon as possible.

    It’s worth noting that the font files are relatively small (<50kb). WOFF2 files are even smaller. So if you find preloading is having a negative effect it’s completely fine to disable it and allow the font files to load in the normal way.

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