Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Bold 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.


2 Answers

James Barnett
James Barnett
39,199 Points


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
Guil Hernandez
Treehouse Teacher

Hi 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!