I use the loader like this:
WebFont.load({
google: {
families: [
'Catamaran',
'Droid serif',
'Lato',
'Merriweather',
'Merriweather sans',
'Open Sans',
'Roboto',
'Roboto Condensed',
'Roboto Slab',
'Titillium Web',
'Source Sans Pro',
'Montserrat'
]
},
typekit: {
id: 'myid'
}
});
and the js file is loaded, however the fonts are not, do I need to run Typekit.loadto actually load the fonts?
Since on the readme it seems it says that you have to use their embed code in case you don't have other fonts, but in this case I assumed it wasn't necessary as for the google fonts
I use the loader like this:
and the js file is loaded, however the fonts are not, do I need to run
Typekit.loadto actually load the fonts?Since on the readme it seems it says that you have to use their embed code in case you don't have other fonts, but in this case I assumed it wasn't necessary as for the google fonts