If you want to use multiple font weights, you have to load and reference each weight in your stylesheet. Otherwise, you end up with a browser-added faux-bolding instead of the actual bold font.
If you want to use multiple font weights, you have to load and reference each weight in your stylesheet. Otherwise, you end up with a browser-added faux-bolding instead of the actual bold font.
No Firefox love? :(
Jonathan Kew (of XeTeX fame) is on the Mozilla Firefox team for goodness' sake.
http://snappy-app.com/s/show.php?pass=2423776c8599b57c05dc4e...
Enlarged:
http://snappy-app.com/s/show.php?pass=a1808d59f6efff53d1c847...
Am I missing something?
http://css-tricks.com/watch-your-font-weight/
Edit: Another explanation:
font-family: blah;
on every class that needs it. this is because @font-face isn't supported completely when using simply font-weight: blah;
to differentiate between different @font-face family groups.If you give a chunk of type a style or weight that you haven't loaded the appropriate font file for, browsers will add weight to or slant the text themselves. ("faux-bold", "faux-italic"). This gives you ugly, rough, less readable text that counteracts the primary reasons to use a web font in the first place. Default CSS styles (H1 automatically adding font-weight: bold;) can also cause this in some cases. [See link]
There's two main (maybe three) approaches to implementing them correctly, Laura Franz does a good job of describing them here: http://coding.smashingmagazine.com/2013/02/14/setting-weight...