I want to use a pixel font on the web. I'm including it using @font-face however all the browsers are applying anti-aliasing to the font. I can't seem to find a CSS rule to disable this, can anyone think of another method of disabling anti-aliasing?
views:
328answers:
2
+1
A:
I don't think css has an option for anti-aliasing. Try cufon instead: http://wiki.github.com/sorccu/cufon/about
It's pretty easy to use and it will render your pixel fonts very well. You might also be interested in Shaun Inman's Pxfon: http://shauninman.com/archive/2009/04/17/pxr%5Fcufon%5Fpxfon
Goose Bumper
2009-11-18 00:09:37
+1
A:
Font rendering is done by the operating system and browser, so, as of yet, I believe there is little that you can do with CSS. There may be some proposed CSS rules in discussion (I've seen mention "font-smooth" or something like that), but nothing in CSS3, as far as I know, and definitely nothing in CSS2.
keithjgrant
2009-11-18 00:09:59
Thanks, pretty much what I figured.
Samuel
2009-11-18 04:45:31