This module currently loads all font variants in a single link call as intended by the Google API. Sadly in practice this does not work as intended because IE7 and IE8 drop the additional variants. This has documented in a bug report http://code.google.com/p/googlefontdirectory/issues/detail?id=9 which has been unresolved by Google for over a year. I feel this module should consider using the workaround proposed in the comments of http://code.google.com/p/googlefontdirectory/issues/detail?id=9 which involve breaking up the link tags into separate calls. I have used this method successfully (breaking up variants into separate calls) in several production websites including http://www.hbconstructionla.com/ Ideally as the comments suggest this only needs to be done for the IE7/8 specific if statements.
I have been applying the change as a tpl over-ride (see image attached) but would much rather go with this module solution if the work-around could be incorporated to give cross-browser support to IE7/8.
| Comment | File | Size | Author |
|---|---|---|---|
| Example of split link calls applied to tpl over-ride | 55.11 KB | Beast.Matt |
Comments
Comment #1
BarisW commentedIf anyone wants to look into optimizing it, I'm happy to apply patches. Or else: please replace the module with the much more advanced @font-your-face module.