Skip to content

Have to run Typekit.load to actually load the typekit fonts #335

@alex88

Description

@alex88

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions