RequireJS + WebFont Loader

Example of how to load webfonts using the Google WebFont Loader API.

Syntax

font!google,families:[Tangerine,Cantarell]

You can load fonts from multiple vendors by splitting them with "|".

font!google,families:[Tangerine,Cantarell,Yanone Kaffeesatz:700]|typekit,id:123|monotype,projectId:555

Check the WebFont Loader API documentation for available options.

Lorem Ipsum dolor

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.