Use a light font weight with Sifr
Posted
by Smickie
on Stack Overflow
See other posts from Stack Overflow
or by Smickie
Published on 2010-05-14T09:16:53Z
Indexed on
2010/05/19
21:20 UTC
Read the original article
Hit count: 285
Hi,
With sifr, how do I make a font use the light weight version. I have...
var gillsans = { src: '/resources/swf/gillsans.swf' };
sIFR.activate(gillsans);
sIFR.replace(gillsans, {
selector: 'h1',
css: '.sIFR-root { background-color: #FFFFFF; color: #000000; text-transform:uppercase; }'
});
which is displaying regular Gill Sans, the light version has been exported with the swf (said so in the export report), but how do I get it to display in sifr?
© Stack Overflow or respective owner