Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGraham Davidson
Courses Plus Student 14,966 PointsBold issues
I am working on this http://plusonetesting.co.uk/PloughInn/ and although I have applied the rather lovely
-webkit-font-smoothing: antialiased;
I know this was only initially supported in webkit land but wondered if there was something I could use for Moz - as my text looks like they have been eating the Krispy Kreme's a bit fat.
G
2 Answers
James Barnett
39,199 Points@Graham
When text "looks fat" that's not an issue with antialiasing, that's an issue with weight. It sounds like the browser is rendering faux-bold.
You need to remember to include multiple weights in your @font-face directive.
Like so:
<link href="http://fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700,700italic" rel="stylesheet" type="text/css">
Here's a great blog post on using multiple weights with @font-face
Guil Hernandez
Treehouse TeacherHi Graham,
Like @James said, we shouldn't use faux bold because if a typeface does not include a bold font, the browser will compensate and try to create its own. This can result in smeared lettersββthe browser artificially makes it bold by rendering it double.
Nice looking site, though!