typekit/webfontloader — pull request #51 by jessegrosjean (2012-05-02 21:26:42+00:00)
Title: Adding font variations to custom module

I don’t really know if this is the best way to go about this, but it seems to be working for me. The code pretty much just reuses the FontApiParser in the custom module. This seems a little messy since it creates a strong dependency from custom onto google. But for me this was more practical then copying and pasting most of FontApiParser.

I also needed to make a change to FontApiParser so that it would support oblique variations. I’m not sure if I did it right… my changes are all in the definition of webfont.FontApiParser.VARIATIONS.

Anyway I think these changes should address issue "self-hosted font variations”.