Cloudflare Fonts support for text= parameter?

Google Fonts supports passing in the string itself you'll use the font with, and only returns those specific characters. I have the following, which works locally, fetches the odd characters I need and use only once on my page.
<link href="https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400&display=swap&text=/ˌkɒljəˈmɛ" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400&display=swap&text=/ˌkɒljəˈmɛ" rel="stylesheet">
When Cloudflare Fonts transforms this, it fetches the latin and latin-ext characters, but misses the other characters, resulting in broken text. This also results in fetching 41+96 kB of fonts instead of the 2.6 kB I need. As this results in broken text, this seems like a case where it should fallback and avoid rewriting the request, at least until the full Google Fonts css2 API is supported.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server