Open jploch opened 8 months ago
I see all the fonts with the swap option. What is missing or incorrect?
Not sure if it's a cache thing on my end. The first link is returning all fonts correctly but the second link is only returning "Space Grotesk". I had some issues when adding the display=swap parameter with other links as well.
Can you please check it now? I purged the cache.
Thanks for looking into it! Now it works correctly. Is there a way to add cache busting to the request url?
Ran into the same issue. In my case when using https://api.fonts.coollabs.io/css2?family=Kiwi+Maru&family=Stick&display=swap
. When I looked at the result, I only saw Kiwi Maru.
Shown Here:
I swapped the order thinking it would show me Stick using https://api.fonts.coollabs.io/css2?family=Stick&family=Kiwi+Maru&display=swap
and it gave me Stick only and not Kiwi Maru.
Shown here:
However, if I made the font "Stick" lowercase, it works. So https://api.fonts.coollabs.io/css2?family=stick&family=Kiwi+Maru&display=swap
works.
Shown here:
Not sure if this helps, but wanted to add this in case it helps narrow down the issue.
This works: https://api.fonts.coollabs.io/css2?family=Space+Grotesk&family=Space+Mono&family=Aguafina+Script&family=Audiowide
This doesn't (only returning some fonts): https://api.fonts.coollabs.io/css2?family=Space+Grotesk&family=Space+Mono&family=Aguafina+Script&family=Audiowide&display=swap