• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Font smoothing for Windows

#1
About smoothing. I came into Windows, I opened Chrome and I came on kremen.ua
Enormous difference in display of a font to Mac and to Windows!


There are solutions of JS/CSS for font smoothing in the browser?
 

EQnoble

Well-known member
#4
You can set a shadow to the text and use an extremely low opacity, choose a color somewhere between the font color and the background-color in darkness.
text-shadow: 0 0 1px rgba(0,0,0,0.1);
http://codepen.io/anon/pen/xGDre

Other options rely on @font-face...it really is up to you and what will work better in your situation and for the most people viewing your site.

Searching for 'anti-aliasing', '@font', or 'smooth text' will get you headed in the right direction...
 
#5
You can set a shadow to the text and use an extremely low opacity, choose a color somewhere between the font color and the background-color in darkness.
text-shadow: 0 0 1px rgba(0,0,0,0.1);
http://codepen.io/anon/pen/xGDre

Other options rely on @font-face...it really is up to you and what will work better in your situation and for the most people viewing your site.

Searching for 'anti-aliasing', '@font', or 'smooth text' will get you headed in the right direction...
thx. interestingly. but it is dirty. the ideal decision happens for Win? Not hack.

 

SilverCircle

Well-known member
#6
About smoothing. I came into Windows, I opened Chrome and I came on kremen.ua
Enormous difference in display of a font to Mac and to Windows!


There are solutions of JS/CSS for font smoothing in the browser?
No matter what you try, you'll never get the font rendering quality of OS X in Windows. ClearType is total crap and DirectWrite (which, in theory could do it) is not mature/widespread enough.

Just live with it - as a Windows user you'll sooner or later get used to ugly and typographically incorrect font rendering.
 

digitalpoint

Well-known member
#8
It's really more of an underlying issue with how the operating system treats fonts. Specifically Windows tries to align things to the nearest whole pixel, while Mac OS X doesn't.

The primary difference is that Microsoft try to align everything to whole pixels vertically and sub-pixels horizontally.
Apple just scale the font naturally – sometimes it fits into whole pixels other times it doesn’t.
This means Windows looks sharper at the expense of not actually being a very accurate representation of the text. The Mac with it’s design/DTP background is a much more accurate representation and scales more naturally than Windows which consequently jumps around a lot vertically.
http://damieng.com/blog/2007/06/13/font-rendering-philosophies-of-windows-and-mac-os-x
 

Quillz

Well-known member
#9
I believe in Win7 and beyond, you are now able to adjust ClearType settings so you can make fonts look a little more or less sharper. Making things a little bolder makes text look somewhat similar to Mac OS X, which uses Quartz Extreme for font smoothing and anti-aliasing.
 

digitalpoint

Well-known member
#10
I believe in Win7 and beyond, you are now able to adjust ClearType settings so you can make fonts look a little more or less sharper. Making things a little bolder makes text look somewhat similar to Mac OS X, which uses Quartz Extreme for font smoothing and anti-aliasing.
Unfortunately, that doesn't really help the issue of wanting a website to look consistent for all users. :)
 

Jason

Well-known member
#11
Basically, Windows heavily favors the pixel grid which improves readability and prevents blur, but at the cost of not being a true typeface. Apple chose the exact opposite approach for OS X, where fonts are rendered in such a way to preserve the typeface, but at the cost of sometimes appearing a bit blurry (years ago, this was more apparent -- OS X fonts were atrocious). Now that high resolution displays are becoming more common, ClearType isn't exactly needed to the extent it once was.

For websites, the only great solution is to use a cross platform font (there's ~6 of them) and web fonts (but even browsers may render fonts slightly different), and fallback fonts for critical sections. Or, images if it really must look the same, but that's bad for your health!
 

mistypants

Well-known member
#12
It won't help you make your website look nice to everyone, but you can replace Cleartype with GDI++, which is what (if memory serves) Linux & OSX use for font smoothing.

It's not a full blown program right now but it works alright.

Again, this doesn't really fix the issue, though. At the end of the day it's really just up to the end user to configure their Cleartype settings properly... and some people really just could be arsed.
 
#14
I believe in Win7 and beyond, you are now able to adjust ClearType settings so you can make fonts look a little more or less sharper. Making things a little bolder makes text look somewhat similar to Mac OS X, which uses Quartz Extreme for font smoothing and anti-aliasing.
most users will not set. smoothing to do for all users.


For websites, the only great solution is to use a cross platform font (there's ~6 of them) and web fonts (but even browsers may render fonts slightly different), and fallback fonts for critical sections. Or, images if it really must look the same, but that's bad for your health!
screenshots in this topic of Arial. I do not know the concept of cross-platform may affect the quality of display.

webfonts are not the solution. I tested http://www.google.com/fonts/#ChoosePlace:select in all browsers for Windows and it's ok only in IE. Safari for Windows not tested.
fallback fonts its for symbols?


Again, this doesn't really fix the issue, though. At the end of the day it's really just up to the end user to configure their Cleartype settings properly... and some people really just could be arsed.
I think something can be.
 

SilverCircle

Well-known member
#15
I believe in Win7 and beyond, you are now able to adjust ClearType settings so you can make fonts look a little more or less sharper. Making things a little bolder makes text look somewhat similar to Mac OS X, which uses Quartz Extreme for font smoothing and anti-aliasing.
That's just an ugly hack. ClearType doesn't support true sub-pixel placement of glyphs and this is the single most important feature for proper (and typographically correct) font rendering. It has little to do with sharpness and a lot more with the x-placement of glyphs.

Strict alignment on the pixel grid is not enough unless you have an extremely high resolution (about 200-300dpi, dependent on viewing distance, of course) pixel grid. Maybe, for retina displays, a simple pixel-alignment would work, but certainly not for the average display where sub-pixel placement is the only way to solve the issues.

Another interesting article about font rendering in general can be found here.
 

Biker

Well-known member
#16
Honestly? Who cares? Want to see a huge disparity on how fonts are rendered? Fire up Linux and hit a few sites. If you're OCD about how a font looks online, you'll go running back to Windows and never worry about font rendering again.

Unless your site specializes in graphics and the preview of said graphics is critical, minor issues on how the various operating systems render fonts should be a non-issue. Seriously.
 
#17
Honestly? Who cares? Want to see a huge disparity on how fonts are rendered? Fire up Linux and hit a few sites. If you're OCD about how a font looks online, you'll go running back to Windows and never worry about font rendering again.

Unless your site specializes in graphics and the preview of said graphics is critical, minor issues on how the various operating systems render fonts should be a non-issue. Seriously.
I think the little things are important. It's like a Unibody and Magsafe for Apple. Even more important.