Closed (fixed)
Project:
Sweaver
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2010 at 12:41 UTC
Updated:
6 Aug 2010 at 10:20 UTC
@font-face integration would be really handy in Sweaver, no doubt someone will write it. I was just thinking it might be worth looking at the @font-your-face module as it allows you to browse available fonts from multiple online sources.
Comments
Comment #1
sreynen commentedI'm the maintainer of @font-your-face, and would be happy to help with this. I see there's a mention of @font-your-face support on the project page now, but I don't see anything in the actual code yet. It should be pretty simple to call fontyourface_get_fonts() and get a list of fonts that have been activated.
Comment #2
swentel commentedThe plugin should be in dev - only added it yesterday. The plugin itself alters the font family property options (clear cache if you don't see them right away)
@Jyve, see if you can use that API function instead of the direct query it's doing now
Comment #3
jyve commentedThe plugin has been updated to use the API function instead of the custom query and it has been committed to the dev version.
Really excited about this integration!
Comment #4
sreynen commentedAh, the dev release, that makes sense. I'm pretty excited about this too. This kind of API use is exactly what I've been hoping would happen with @font-your-face. I'm in the middle of getting Typekit added, so it'll be awesome to have that just automatically work in Sweaver when it's done.
Comment #5
SeanBannister commentedThat works great, nice work!!! Thanks all.
Comment #6
jyve commented