Love the module, especially now that it supports TypeKit, which I love. One thing that has struck me as add is that in order to get the fonts to your site, you first have to make the kit on TypeKit, then the fonts will show up as available to add in the @font-your-face "add fonts" section. So to actually use the fonts from your kit, you then have to add each font from the TypeKit kit. This seems a but odd to me since each TypeKit kit is created for a specific site anyways, so you essentially have to add the font twice. Once on TypeKit, and then once you have that kit in Drupal, you have to add them to your Drupal site. To me it would make more sense to automatically add all of the fonts from the kit to Drupal for use.

Is there any particular reason that you have to add fonts from a kit that is made for just that site anyways?

Comments

sreynen’s picture

The main reason Typekit fonts aren't automatically enabled is that I hope to eventually be able to enable fonts only in @font-your-face, without needing to go back to Typekit.com. Enabling fonts is already possible in the Typekit API. Unfortunately, previews are not, and few people would know which fonts they want to add without being able to see previews first. I believe the Typekit people intend to add previews to the API eventually, so I've been waiting for that. With previews, @font-your-face could show all Typekit fonts available under your current account and enable and disable them via the API as you enable and disable them within Drupal.

That said, I agree auto-enabling Typekit fonts makes sense as a stop-gap until previews are possible. If you want to submit a patch, I'd be happy to review and add it. Otherwise, I'll probably keep waiting for preview to be added to Typekit's API.

sreynen’s picture

Version: 6.x-1.4 » 6.x-2.x-dev

Now that 2.x is working, I'm moving all 1.x issues there.

sreynen’s picture

Version: 6.x-2.x-dev » 7.x-1.x-dev
Status: Active » Patch (to be ported)

Committed to 7.x-1.x-dev. Needs to be ported to 6.x-2.x-dev.

sreynen’s picture

Version: 7.x-1.x-dev » 6.x-2.x-dev
kuttu666’s picture

Hi,

How can i install a font automatically on loading my site.

sreynen’s picture

kuttu666, if you'd like support, please open a separate support request issue providing more detail on what you're trying to do.

kenorb’s picture

Issue summary: View changes
Status: Patch (to be ported) » Closed (outdated)

Closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.