Typekit Fonts and font-display capability

hey there! I’m noticing that my Typekit fonts take quite a bit of time to load. Makes sense, they are being called from use.typekit.net and that takes time to load. For my local fonts that I load myself (hosting the files on my CDN), I add to my @font-face CSS font-display:swap; which allows the browser to “swap” the custom font for a browser font until it loads. I’m not sure how to accomplish this with Typekit - especially since I’m using Font Manager and all my fonts are loaded using the “font” dropdown in the PRO editor. I’m wondering if this is something that could be built in or at least added as a setting in the Font Manager.

Here’s information on font-display for others.

Hello Matt,

Thanks for writing in! At the moment, this is not applied to the built in Fonts in the theme. You can only use font-display:swap; with your custom fonts while using @font-face css. We’ve added this as a feature request so it can be taken into consideration for future development.

Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.