• Resolved Rookie

    (@alriksson)


    Add support for async without webfont.js

    Suggestion to suggest a matching fallback font of the selected downloaded font for better ux.

    Maybe add the option to onload instead of webfont.js? Smaller effect on performance, lighter script and code rows, or what do you think?

    onload="this.onload=null; this.rel='stylesheet'; document.body.classList.add('fontLoaded')"

    Would also like to preload the css file with async.
    /wp-content/cache/omgf-webfonts/fonts.css

    Better compatibility with WP asset cleanup and wp rocket?
    Better compatibility with oxygen page builder (not using theme so auto-detect fails).

    Thanks for a great

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    These all sound like great suggestions. I’ll see what I can do!

    Thread Starter Rookie

    (@alriksson)

    Sounds great, for fallback use best look-alike system font to swap with.

    Plugin Author Daan van den Bergh

    (@daanvandenbergh)

    Hi @alriksson,

    I wanted to let you know that compatibility with Oxygen Page Builder is now offered in OMGF Pro, which can be purchased here.

    It just so happens that I implemented Asset Cleanup Pro on my own sites today, and OMGF (Free and Pro) is perfectly compatible with it!

    Your other suggestions (preload with async and use onload instead of webfont.js) are available in other plugins, e.g. WP Rocket and Asset Cleanup Pro and OMGF works fine with them. Also, it’s outside the scope of OMGF.

    Your suggestion for fallback is still on my to do list!

    Enjoy OMGF 🙂

    Thread Starter Rookie

    (@alriksson)

    I wanted to let you know that compatibility with Oxygen Page Builder is now offered in OMGF Pro, which can be purchased here.

    Okay thanks, what does it include? The compatibility?

    It just so happens that I implemented Asset Cleanup Pro on my own sites today, and OMGF (Free and Pro) is perfectly compatible with it!

    What I see is AC PRO cna not find the css file form OMGF to unload, preload or do anything else.

    Your other suggestions (preload with async and use onload instead of webfont.js) are available in other plugins, e.g. WP Rocket and Asset Cleanup Pro and OMGF works fine with them. Also, it’s outside the scope of OMGF.

    Sure but you add preload to the woff2 files so though I suggest improvements of css as well.

    Your suggestion for fallback is still on my to do list!

    Would be good! Keep me posted.

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

The topic ‘Feature improvements: async, fallback font’ is closed to new replies.