独自のサーバーで独自のカスタム フォントを使用して、Google の Web フォント ローダーを使用したいと考えています。
Google 独自のドキュメントに記載されているように、独自のWeb フォント プロバイダーを構成する方法について少し混乱しています。
In addition to the google, typekit, ascender and monotype options,
there is also a custom module that can load a stylesheet
from any web-font provider.
WebFontConfig = {
custom: { families: ['OneFont', 'AnotherFont'],
urls: [ 'http://myotherwebfontprovider.com/stylesheet1.css',
'http://yetanotherwebfontprovider.com/stylesheet2.css' ] }
};
このライブラリを使用するには、外部 css に何を含める必要がありますか?