How to load typekit with display=swap parameter?
CrossOrigin88 opened this issue · 1 comments
CrossOrigin88 commented
I would like to make it load typekit with parameter 'display=swap'.
As i know. Google fonts will do like this
WebFont.load({
google: {
families: [
'Roboto:400,700&display=swap'
]
},
active: () => {
sessionStorage.fontsLoaded = true
},
});
How about typekit?
WebFontConfig = {
typekit: {
id: 'xxxxxx'
}
};
I'm not sure about typekit, anyone know?
Deleted user commented
Can this be set within the project settings in Adobe Fonts?
See https://helpx.adobe.com/fonts/using/font-display-settings.html