News for hackers. Stuff that matters.
Re:CSS3 Font Smoothing by kneath on Thursday August 26, 2010 @08:58PM (#1637696)
Explaining how subpixel rendering technically works seems like the worst possible argument against something that exists purely for aesthetics. Just because something is more technically complicated does not make it a better option.

There are plenty of situations in which things are far less readable using subpixel rendering. Examples:

WITH subpixel: http://share.kyleneath.com/captures/Your_Dashboard_-_GitHub-... WITHOUT subpixel: http://share.kyleneath.com/captures/Your_Dashboard_-_GitHub-...

Furthermore, so long as the fonts are ~14px+ and sans-serif I think non-subpixel rendering makes the design cleaner and more aesthetically pleasing. Since I started slowly rolling it out to GitHub, I've been getting nothing but compliments. Case in point: http://github.com/training — I've had several people email me to ask me how I got the fonts to look so good on this page. The answer? The majority of the text uses antialiased fonts instead of subpixel.

Do I use this effect everywhere? Of course not. That's what being a good designer/developer being is about — surveying your options and choosing the one you feel is the best fit.

Now, you want to talk about font-rendering? Let's talk about monospaced fonts and Ubuntu for a minute because I've got a few rants down that road. Ubuntu's font-smoothing is nearing a crime against humanity. -webkit-font-smoothing doesn't have jack on it.

Re:CSS3 Font Smoothing by fadeyev on Thursday August 26, 2010 @09:52PM (#1637788)
Yes, but the whole point of subpixel rendering is aesthetics. Its job is to make fonts look smoother and crisper, and in majority of cases it does just that. I'll accept that OS X's rendering of bold fonts on dark backgrounds is terrible, which is where the text-shadow trick comes in handy (or antialiasing, which I think is the same thing in that case), but I'm not sure that for body fonts this is the right way to go. I see this technique popping up here and there and in many cases the fonts end up looking worse. Sure, it's up to the designer to decide what's best--it always is--which is why it's good to have this discussion so that people can better understand which choices to make.
Re:CSS3 Font Smoothing by audionerd on Friday August 27, 2010 @12:15AM (#1637976)
The text-shadow hack stopped working when Snow Leopard was released.

-webkit-font-smoothing seems to be a specific solution to the same problem.

via: http://orderedlist.com/our-writing/resources/html-css/thinni...

Re:CSS3 Font Smoothing by fadeyev on Friday August 27, 2010 @11:29AM (#1639069)
It hasn't stopped working, it just behaves differently. It stopped working on shadow blur amount of 0, but it works at 1px or more.
Re:CSS3 Font Smoothing by teilo on Thursday August 26, 2010 @06:46PM (#1637384)
This title is wrong. This is not a CSS3 feature.

Is it too much to ask that everyone stop calling any and every engine-specific CSS extension "CSS3"?

Re:CSS3 Font Smoothing by naner on Thursday August 26, 2010 @06:17PM (#1637320)
Why is this feature even available in webkit? I can't imagine any situation where I'd want a particular website to override OS font smoothing settings.
Re:CSS3 Font Smoothing by mortenjorck on Thursday August 26, 2010 @09:12PM (#1637718)
Some fonts (especially less-common ones now available through @font-face) just get hinted too strongly with subpixel AA. I wouldn't use this property in body text (if your body font doesn't hint well at that size, you need a new font), but I've used it before on title copy and it really does make an improvement.
Re:CSS3 Font Smoothing by Groxx on Thursday August 26, 2010 @08:55PM (#1637690)
No?

How about hand-made pixel-based fonts? Or how about some of the sub-pixel fonts out there: http://typophile.com/node/61920

Re:CSS3 Font Smoothing by ori_b on Thursday August 26, 2010 @09:32PM (#1637751)
How about just using the fonts that I told the system to use, the way I told it to use them? I installed and selected those fonts for a reason, thank you.
Re:CSS3 Font Smoothing by daychilde on Friday August 27, 2010 @12:28AM (#1637992)
If you've configured your browser to override webpage-specified fonts with your choices, it seems to me that anti-aliasing is surely not going to be high on your list of concerns...
Re:CSS3 Font Smoothing by Groxx on Friday August 27, 2010 @09:57AM (#1638815)
I see you're definitely not a typography nut.

Hey, I know. Comic Sans is on essentially every computer. We should all just use that.

Re:CSS3 Font Smoothing by petercooper on Thursday August 26, 2010 @05:39PM (#1637243)
Right on. I'm glad someone with more gravitas than me came and said it. I already did in a slightly cruder way: http://peterc.org/blog/2010/235-webkit-font-smoothing-antial...
Re:CSS3 Font Smoothing by ionfish on Thursday August 26, 2010 @06:05PM (#1637288)
A few days ago I added the following rule to my Safari stylesheet:

    * {-webkit-font-smoothing:inherit!important;}
Frankly I think the whole idea is dangerous; antialiasing settings are not something that website authors should be able to change.
Re:CSS3 Font Smoothing by jws on Thursday August 26, 2010 @07:25PM (#1637486)
Subpixel antialiasing can have more chroma aberrations at the horizontal edges, particularly at high frequencies. You night wish to stop it if that is a problem.

Personally, I cheer the day when we all have 300 dpi displays and the problems melt away.

Re:CSS3 Font Smoothing by audionerd on Friday August 27, 2010 @12:12AM (#1637973)
The recommendations from html5boilerplate.com actually include this:

  html { -webkit-font-smoothing: antialiased; }
My point being: be sure to read and understand resets/boilerplates before including them in your own code.
Re:CSS3 Font Smoothing by limedaring on Thursday August 26, 2010 @10:23PM (#1637836)
Why do people write articles like this that depend on visuals without any visuals to prove their point?

For examples of how the three types of font-smoothing choices look, try this article: http://maxvoltar.com/archive/-webkit-font-smoothing

Re:CSS3 Font Smoothing by chubs on Thursday August 26, 2010 @07:12PM (#1637450)
While we're on the topic of font smoothing, does anyone know of a way to make the font smoothing on my PC look as nice as it does on my Macs? Its generally the first thing i notice when i go home at night and check my email on my mac: how much nicer the fonts look.
Re:CSS3 Font Smoothing by jonah on Thursday August 26, 2010 @09:02PM (#1637702)
Try Microsoft's ClearType Tuner powertoy.

Edit: MS ClearType info including links: http://www.microsoft.com/typography/ClearTypeInfo.mspx

Re:CSS3 Font Smoothing by sp332 on Thursday August 26, 2010 @07:51PM (#1637557)
The only way I know of to get Mac rendering is to use Safari for Windows. It's got an option to use Mac-style rendering or Windows' Cleartype.
Re:CSS3 Font Smoothing by Sephr on Thursday August 26, 2010 @08:35PM (#1637656)
Use DirectWrite.
Re:CSS3 Font Smoothing by chubs on Thursday August 26, 2010 @08:40PM (#1637665)
I mean for my applications, not just for things i want to write for myself.
Re:CSS3 Font Smoothing by Groxx on Thursday August 26, 2010 @08:58PM (#1637695)
> follows link through to the "good article"

Bleh. Why do people like non-subpixel-rendered fonts? There's so much less clarity. If you don't like the increased weight, then lower the weight, not the AA. At least the main article gets the point.

Re:CSS3 Font Smoothing by mikeklaas on Thursday August 26, 2010 @08:41PM (#1637667)
This setting gives control to the designer to affect perceived text weight (which for one, allows sites to render more consistently on Windows and OS X). You might not like it, but I have a hard time seeing it as so heinous that it is worth excoriating
Re:CSS3 Font Smoothing by cmelbye on Thursday August 26, 2010 @10:22PM (#1637835)
I used the "antialiased" setting a few days ago so that my finished HTML page would look more closely like my Photoshop mockup. The default setting looked too thick, and I was quite happy when I found "antialiased".
Re:CSS3 Font Smoothing by hippich on Thursday August 26, 2010 @08:36PM (#1637661)
Why? I know better what type of font smoothing works best on my hardware!