Add support for other web font services
Currently font-store is developed around and only tested with Google Fonts. In theory it should work with other services too but this should be tested.
If needed make service specific modules.
Some services (not sure if all licenses are permissive enough):
- Adobe Typekit
- Webtype
- Cloud.typography
- Fonts.com
- Fontdeck
- Myfonts
Doesn't currently work with WebType fonts (invalid url error, with license token used) —necessary for my project because http requests for external web fonts annoyingly pause the load of our digital signage apps. However, when I do a simple cURL I do get a WOFF file from the server.
Hey @47ronin, I'll check tomorrow if I can test WebType and see if I can fix this with a free/trial account. Otherwise I might need help.
@47ronin, I made a quick fix that should solve the issues with WebType. However if the issues persist, please let me know :)
@CrocoDillon Hey there, happy new year! Used npm to install the update. WebType still doesn't work for our licensed fonts, which use a URL structure similar to (woff version):
//cloud.webtype.com/webtype/ff2/3/probably_some_id?ec_token=really_long_hash
…where probably_some_id is a string about 36 characters and parameter ec_token is approximately 258 characters.
Compared to how WebType links their own CSS on their website, user-licensed fonts seem to require ec_token as an appended value in the URL. Hope that helps!