Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Daan from Daan.dev

    (@daanvandenbergh)

    Hi @maria_wp,

    Do you have ‘Remove Google Fonts’ enabled in OMGF?

    If so, then this font must be loaded by your theme or a plugin in an unconventional way.

    if you have SSH access to your site, execute the following command from within your wp-content-folder:

    grep "comfortaa" * -rl

    It should return a path to a file. Please open that file, and copy and paste the function in which the ‘comfortaa’-line occurs here.

    I’ll see what I can do to fine tune the ‘Remove Google Fonts’-option.

    Thread Starter maria_wp

    (@maria_wp)

    Hi,

    sorry for the late reply… Your command brings the following result:

    plugins/easy-google-fonts/assets/fonts/webfonts.json

    Which seems to be clear because I have configured there the font. But things get quite strange because when opening this file and search for “comfortaa” within I get

    “version”: “v12”,
    “lastModified”: “2017-11-07”,
    “files”: {
    “300”: “http://fonts.gstatic.com/s/comfortaa/v12/1Ptpg8LJRfWJmhDAuUsw5qNPBQ.ttf”,
    “700”: “http://fonts.gstatic.com/s/comfortaa/v12/1Ptpg8LJRfWJmhDAuUsw9qRPBQ.ttf”,
    “regular”: “http://fonts.gstatic.com/s/comfortaa/v12/1Ptsg8LJRfWJmhDAuUsISg.ttf”
    }

    But in the file there is no string with “v25”. Any other ideas?

    Note: Recommended option enabled. Tested it with V2.0.0 – result same.

    Plugin Author Daan from Daan.dev

    (@daanvandenbergh)

    No problem, @maria_wp,

    So you configured comfortaa in another plugin, but you’re using my plugin to add it again? Why not disable Easy Google Fonts? OMGF is already taking care of it for you 🙂

    Thread Starter maria_wp

    (@maria_wp)

    Well I think you are not aware of the functionally of Easy Google Fonts. Because your plugin and this plugin have two different objectives. With yours the caching is handled – quite perfectly. With the other I can easily assign fonts to classes. I especially like the way to assign fonts to a given class.

    Anyway I’m just surprised all the other fonts are handled properly. But these are just woff fonts and not woff2.

    Plugin Author Daan from Daan.dev

    (@daanvandenbergh)

    @maria_wp,

    Well, I think Easy Google Fonts adds every font you’ve configured in it. If there’s any way in that plugin to assign classes to fontnames, without adding that font to your header, then that’s the solution. If there’s not, then I think that’s it.

    This is not really a OMGF problem, though. You should consult with the dev’s of Easy Google Fonts.

    Enjoy your weekend!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘woff2 fonts are not cached’ is closed to new replies.