> > Also, I need to load remote google webfonts. Does ResourceLoader support
> > this or I have to use old-fashionated methods of OutputPage() ?
> Unfortunately RL doesn't support this directly. Although to load a
> webfont, all you need is a stylesheet with an @font-face in it, right?

Unfortunately it seems like some browsers (well, IE that is) can be very picky 
about line-breaks being kept in @font-face declaration. They will not work n 
every browser if the css is minified. (I have just spent one week trying to 
figure out what was wrong with my web fonts, just to find that it was a 
minification issue.) I now load a separate stylesheet with the @font-face 
declaration in it.
Best regardsLeo                                           
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to