LWN.net Logo

Font rasterization techniques

Font rasterization techniques

Posted Sep 24, 2007 22:07 UTC (Mon) by jengelh (subscriber, #33263)
Parent article: Font rasterization techniques

Subpixel rendering is really ugly on CRTs. Even at 1280x1024 I notice the red/green tint at the edges. (Much like some people being able to notice 60,65,70 Hz flicker of CRT.)
[Remembering Vista Beta2, disabling ClearType did not even deactivate it everywhere. Ugh.]


(Log in to post comments)

Font rasterization techniques

Posted Sep 24, 2007 22:15 UTC (Mon) by jwb (guest, #15467) [Link]

OK, but why would you use subpixel rendering on a CRT? A CRT doesn't _have_ subpixels!

Font rasterization techniques

Posted Sep 24, 2007 22:19 UTC (Mon) by jengelh (subscriber, #33263) [Link]

I would of course not, but see the Vista part of my previous comment.

Font rasterization techniques

Posted Sep 24, 2007 22:32 UTC (Mon) by k8to (subscriber, #15413) [Link]

I thought the term "subpixel rendering" referrred to a general idea. That is, using a model of the image data at an arbitrary or higher resolution, and then rendering it to the actual display in some smart way, be it antialiasing or tweaky LCD color hacks.

I've yet to read the article so maybe he or she is using the term only to refer to the LCD hacks.

Font rasterization techniques

Posted Sep 24, 2007 23:27 UTC (Mon) by quotemstr (subscriber, #45331) [Link]

The author is using "subpixel positioning" to refer to laying out characters with better than pixel level precision, and I think it's an excellent idea.

Font rasterization techniques

Posted Sep 25, 2007 1:43 UTC (Tue) by k8to (subscriber, #15413) [Link]

Yes, after having read the entire text, I see his entire thrust is that text, that is characters, need not be pixel-aligned. For a great many applications this type of layout seems superior, although I cannot help but feel the surrounding text provided by my browser is easier to read than any of his examples, though they may be more elegant.

In essence I think crappy pixel aligned text still has its place (such as in this edit box into which I am typing), but when the goal is to have any sort of font and page-layout fidelity, I'm convinced of his arguments.

Font rasterization techniques

Posted Sep 27, 2007 21:06 UTC (Thu) by Ross (subscriber, #4065) [Link]

It is actually much easier to do it that way, but it leads to text which looks blurry and lightened (try zooming out of a screenshot in an image viewer and notice how the text turns gray). (This could be accomplished with supersampling or vector-based calculation.) You get less spacial aliasing in exchange for blurriness.

It's a classic sampling theory problem.

Subpixel rendering of course refers to not treating the different LCD pixel elements as if they were at the exact same locaiton. You get better resolution at the cost of color fringing.

Some comination of the approaches is likely to produce the best results, which is why fonts have complex hinting attributes for handing pixel alignment at different sizes.

But this entire area is a patent minefield so Free Software developers don't have all that many options.

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