font-store icon indicating copy to clipboard operation
font-store copied to clipboard

Add support for other web font services

Open CrocoDillon opened this issue 11 years ago • 4 comments

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

CrocoDillon avatar Jan 15 '15 18:01 CrocoDillon

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.

47ronin avatar Dec 30 '15 22:12 47ronin

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.

CrocoDillon avatar Dec 31 '15 00:12 CrocoDillon

@47ronin, I made a quick fix that should solve the issues with WebType. However if the issues persist, please let me know :)

CrocoDillon avatar Jan 02 '16 00:01 CrocoDillon

@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!

47ronin avatar Jan 04 '16 20:01 47ronin