LWN.net Logo

Liberation fonts: hinting needed

Liberation fonts: hinting needed

Posted Jun 22, 2012 18:31 UTC (Fri) by daniel (subscriber, #3181)
In reply to: Liberation fonts: hinting needed by Richard_J_Neill
Parent article: Liberation fonts and the tricky task of internationalization

"About 20% of people (including myself) find the effect most unpleasant: it sacrifices contrast, and makes the display look out-of-focus, causing eye-strain."

Perhaps that 20% would largely consist of owners of 1024x768 resolution monitors or worse. The "high contrast" you perceive in a black/white font is actually aliasing, an effect that is in general, highly unpleasant. Theory says it goes away completely when the highest spatial frequency of the source image is less than half the pixel grid spacing. This is achieved by low pass filtering, aka anti-aliasing. Reality is, for accurate image display you also need gamma correction, otherwise the intensity curve of a standard RGB monitor is wildly wrong. And the pixel spacing has to be less than what your eye can resolve, which the real test is not whether you can see jaggies or not (jaggies produce an easily perceivable nonlocal intensity variation) but whether you can count the number of lines in a series of one pixel stripes.

If you insist on using black/white text display then you need a really high resolution display to make the jaggies go away, but if you display properly band-limited images you will likely be fine with a display with just modestly improved resolution. Your goal is to get the highest, non-aliasing spatial frequency down below the resolution of your eye. To put this to the test all you have to do is move back from the monitor, increasing the point size of the font as you go until any perceived blurriness disappears. There is always such a distance and it is not as great as you think. Then the ratio between that distance and the distance at which you would actually like to view the screen is the amount by which you need to increase your linear pixel density.


(Log in to post comments)

Liberation fonts: hinting needed

Posted Jun 30, 2012 4:25 UTC (Sat) by k8to (subscriber, #15413) [Link]

I own a desktop 1600x1200 display and a laptop 1440x920 display. On both i find font 'anti-aliasing' of the cleartype variety creates blurry letters.

So I don't agree with this assessment.

Moreover the idea that high contrast is the same as aliasing is simply false. It's necessary to have aliasing at low resolutions to have high contrast, but even with "anti-aliasing" techniques, aliasing is still present, it is merely mitigated to some degree. I prefer clarity over prettiness. I'm not sure why one would ever elect differently for reading fonts.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds