typekit / webfontloader

Web Font Loader gives you added control when using linked fonts via @font-face.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

font.com request gives 404

Cottin opened this issue · comments

I'm using your suggested configuration like so:

import WebFont from 'webfontloader'

WebFont.load({
	monotype: {
		projectId: 'xxxxxx-xxxx-xxxxxx-xxxx-xxxxxxxxxxx',
		loadAllFonts: true,
	}
})

And the browser is making a request to https://fast.fonts.net/jsapi/xxxxxx-xxxx-xxxxxx-xxxx-xxxxxxxxxxx.js that always gives a 404.

The sample code for the project which I download from fonts.com (which is not using webfontloader) works like a charm so the fonts.com project-id itself seems to work.

Is there something additional configurations to fonts.com I need to do in order to use webfontloader that is not documented here?
(Adding domains etc. seems to have been a thing in the past because fonts.com marks those guides as legacy now.)

I'm having the same issue.