• Resolved Jascha Ezra

    (@jaschawtf)


    Hello!

    I get the following error on my WordPress Dashboard:

    OMGF konnte Open Sans Condensed nicht finden /tag/teil-des-problems/. Die API gab den folgenden Fehler zurück: Not Found.

    In the CSS Google Fonts delivers is the following:

    `/* latin */
    @font-face {
    font-family: ‘Open Sans Condensed’;
    font-style: normal;
    font-weight: 700;
    src: url(https://fonts.gstatic.com/s/opensanscondensed/v22/z7NFdQDnbTkabZAIOl9il_O6KJj73e7Ff0GmDuXMR7eS2Ao.woff2) format(‘woff2’);
    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;
    }`

    What I really find interesting is that I can not find the font on Google Font, only Open Sans.

    If you need more information I of course will provide what I can.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Hi!

    The font seems to have been removed from Google Fonts. Just Google for the term “Open Sans Condensed” and you’ll notice that there’s a result, clicking on it results in a 404.

    Anyway, that’s the reason that OMGF isn’t able to find it. It depends on the Google Fonts API.

    I suppose, for backwards compatibility they’ve implemented a fallback to still return the stylesheet if it’s requested.

    Is there a big difference between Open Sans and Open Sans Condensed? If not, I could implement a fallback in OMGF.

    Unfortunately, I can’t make it download Open Sans Condensed. ??

    Thread Starter Jascha Ezra

    (@jaschawtf)

    Hi!

    I just checked, Open Sans Condensed is Open Sans with a 75% width and either a weight of 300 (Open Sans Condensed light) or a weight of 700 (Open Sans Condensed bold) (Source: https://www.fontsquirrel.com/fonts/open-sans-condensed)

    So the google fonts call would look like
    https://fonts.googleapis.com/css2?family=Open+Sans:wdth,wght@75,300&family=PT+Sans

    Thanks for all your efforts,
    Jascha

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Ah, that must be the reason why they dropped it then, because they can replicate with the Variable Fonts API.

    Unfortunately, OMGF doesn’t support variable fonts yet. So, at this moment, there’s nothing I can do for you.

    I’ll move the ticket for variable fonts support up on my Todo list, though.

    Thread Starter Jascha Ezra

    (@jaschawtf)

    Thank you!

    Running into the same issue…

    Is there a workaround for the time being?

    Thanks
    Markus

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Unfortunately not. Sorry ??

    I’m still researching the best way to approach this. It’s a biggy. Unfortunately.

    Thanks for reaching out!

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Hi @markisu72 and @jaschawtf,

    This beta includes basic support for Variable Fonts. I still have a looong way to go, before OMGF offers full support, but this version should get you what you want to achieve.

    Let me know how it goes!

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Hi again,

    Just wanted to let you know that the latest version of OMGF offers full support for Variable Fonts.

    This should resolve the issues you’re having!

    Thread Starter Jascha Ezra

    (@jaschawtf)

    Thanks! It works like a charm!

    Plugin Author DaanvandenBergh

    (@daanvandenbergh)

    Awesome! ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Font not found despite delivered by google’ is closed to new replies.