Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was going to point out that the demo image is misleading because the Mac's rendering would look better than Photoshop even without subpixel anti-aliasing (which is plain stupid for the web, minimal gain with possibility of looking much worse in certain circumstances) but I don't have to:

"Even when subpixel antialiasing is turned off (Appearance panel in System Preferences), the rendered text still looks better than that from Photoshop, Flash and JavaScript." -- the author, in comments

This would allow transparent backgrounds too, which seems to be the number one request. I'm guessing it would be fairly easy to replicate this cross platform using the standard linux text rendering stack. Mac text rendering isn't really about better technology, they just make different decsions.

Decisions that those used to Windows text rendering hate. I on the other hand love it and set my Ubuntu boxes up the same way. I think this should be the default on Ubuntu but people get really attached to the text rendering they are used to.



Not to derail, but ZG, are you referring to a particular setting for the Mac font rendering besides the subpixel thing in /etc/fonts/local.conf? I'm setting up a Gentoo desktop and haven't used desktop Linux in some years, and I'd love to have nicer-looking fonts. I turned on subpixel support, hinting, and anti-aliasing, but things still look (imo) subpar to Mac font appearances.


You probably want to turn hinting off.

Hinting follows the Windows philosophy of moving the letters about so that they fit the pixel grid better. Apple tries to leave them where they would be on a fictional perfectly hi-res display (or printer) and applies anti-aliasing where it doesn't fit the grid.

The former is sharper but not true to the actual shapes, position and kerning of letters and words, the latter is considered blurry by some, though less so as the DPI increases to iPhone levels.

Compare these Windows, OS X and Ubuntu screenshots I found on the internet:

http://rewind.themasterplan.in/wp-content/uploads/2007/07/sn...

http://rewind.themasterplan.in/wp-content/uploads/2007/07/sn...

http://rewind.themasterplan.in/wp-content/uploads/2007/07/sn...

From this article:

http://rewind.themasterplan.in/2007/07/15/sexy-smooth-fonts-...


And for those who want the opposite, for Ubuntu fonts to look just like Windows XP:

http://sharpfonts.com/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: