Pregunta

Spotify's Integration Guidelines (casually) mentions that Typekit can be used for introducing web fonts, but their auto-generated documentation makes no mention of what configuration needs to happen. Typekit, out of box, rejects the usual suspects (localhost, 127.0.0.1), and more.

Is this even possible?

¿Fue útil?

Solución 3

So far, the only way to use a custom typeface in a Spotify app is to use SVG. This is the only way I've been able to make it work. There are tradeoffs, like un-selectable text, that you should be aware of, so I'm not sure there is much upside to this approach.

If you really, really dig through the 'net, you can find a single reference to Spotify's developers removing font rendering capabilities and flagging a future version for re-integration, but that version has come on gone. I'd say it's safe to assume this is not on their radar. I'll avoid speculating what is and is not on their radar, though their developer documentation leaves much to be desired.

Otros consejos

The origin of your application is sp://your-app-identifier I believe. Also, make sure you have the TypeKit domains used for loading their JS etc in the RequiredPermissions section of your manifest.

Is someone looking at this? There's been no information for months. Not only does TypeKit fail, CSS3 font-face fails and so does Google Web Fonts.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top