Skip to content

Commit

Permalink
Merge pull request #320 from parterburn/patch-1
Browse files Browse the repository at this point in the history
Add documentation for Adobe Edge Web Fonts
  • Loading branch information
bramstein committed Jul 7, 2016
2 parents 86367c9 + ae2cce0 commit 2c3f630
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Web Font Loader gives you added control when using linked fonts via `@font-face`
* [Timeout](#timeouts)
* [Iframes](#iframes)
* [Modules](#modules)
* [Adobe Edge Web Fonts](#adobe-edge-web-fonts)
* [Custom](#custom)
* [Fontdeck](#fontdeck)
* [Fonts.com](#fontscom)
Expand Down Expand Up @@ -180,6 +181,19 @@ This is an advanced configuration option that isn't needed for most use cases.

Web Font Loader provides a module system so that any web font provider can contribute code that allows their fonts to be loaded. This makes it possible to use multiple web font providers at the same time. The specifics of each provider currently supported by the library are documented here.

### Adobe Edge Web Fonts

When using [Adobe Edge Web Fonts](https://edgewebfonts.adobe.com/), you can use the `typekit` module by passing in a catenated list of fonts in the `id` parameter and set the `api` parameter to point to the Edge Web Fonts URL.

```javascript
WebFontConfig = {
typekit: {
id: 'adamina;advent-pro',
api: '//use.edgefonts.net'
}
};
```

### Custom

To load fonts from any external stylesheet, use the `custom` module. Here you'll
Expand Down

0 comments on commit 2c3f630

Please sign in to comment.