ArticleslgStudy

computer science

ClearType

ClearType is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand ClearType rather than just read about it. In short: ClearType is Microsoft's implementation of subpixel rendering technology in rendering text in a font system. ClearType attempts to improve the appearance of text on certain types of computer display screens by sacrificing color fidelity for additional intensity variation.

ClearType — main illustration
ClearType — illustration

Key takeaways

  • ClearType belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect ClearType to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of ClearType from memory before moving on to harder problems.

Reference excerpt

ClearType is Microsoft's implementation of subpixel rendering technology in rendering text in a font system. ClearType attempts to improve the appearance of text on certain types of computer display screens by sacrificing color fidelity for additional intensity variation. This trade-off is asserted to work well on LCD flat panel monitors. ClearType was first announced at the November 1998 COMDEX exhibition. The technology was first introduced in software in January 2000 as an always-on feature of Microsoft Reader, which was released to the public in August 2000. ClearType was significantly changed with the introduction of DirectWrite in Windows 7. With the increasing availability of HiDPI displays after 2012, subpixel rendering has become less necessary.

Background Computer displays where the positions of individual pixels are permanently fixed – such as most modern flat panel displays – can show saw-tooth edges when displaying small, high-contrast graphic elements, such as text. ClearType uses spatial anti-aliasing at the subpixel level to reduce visible artifacts on such displays when text is rendered, making the text appear "smoother" and less jagged. ClearType also uses font hinting to force the font to fit into the pixel grid. This increases edge contrast and readability of small fonts at the expense of font rendering fidelity and has been criticized by graphic designers for making different fonts look similar. Like most other types of subpixel rendering, ClearType involves a compromise, sacrificing one aspect of image quality (color or chrominance detail) for another (light and dark or luminance detail). The compromise can improve text appearance when luminance detail is more important than chrominance. Only user and system applications render ClearType. ClearType does not alter other graphic display elements, including text already in bitmaps. For example, ClearType enhancement renders text on the screen in Microsoft Word, but not in images within programs such as Adobe Photoshop. In theory, the method (called "RGB Decimation" internally) can enhance the anti-aliasing of any digital image. ClearType was invented in the Microsoft e-Books team by Bert Keely and Greg Hitchcock. It was then analyzed by researchers in the company, and signal processing expert John Platt designed an improved version of the algorithm. Dick Brass, a vice president at Microsoft from 1997 to 2004, complained that the company was slow in moving ClearType to market in the portable computing field.

Human vision and cognition ClearType and similar technologies work on the theory that variations in intensity are more noticeable than variations in color.

Expert opinion In a MSDN article, Microsoft acknowledges that "[te]xt that is rendered with ClearType can also appear significantly different when viewed by individuals with varying levels of color sensitivity. Some individuals can detect slight differences in color better than others." This opinion is shared by font designer Thomas Phinney (former CEO of FontLab, also formerly with Adobe Systems): "There is also considerable variation between individuals in their sensitivity to color fringing. Some people just notice it and are bothered by it a lot more than others." Software developer Melissa Elliott has written about finding ClearType rendering uncomfortable to read, saying that "instead of seeing black text, I see blue text, and rendered over it but offset by a pixel or two, I see orange text, and someone reached into a bag of purple pixel glitter and just tossed it on...I'm not the only person in the world with this problem, and yet, every time it comes up, people are quick to assure me it works for them as if that's supposed to make me feel better." Hinting expert Beat Stamm, who worked on ClearType at Microsoft, agrees that ClearType may look blurry at 96 dpi, which was a typical resolution for LCDs in 2008, but adds that higher resolution displays improve on this aspect: "WPF [Windows Presentation Foundation] uses method C [ClearType with fractional pixel positioning], but few display devices have a sufficiently high resolution to make the potential blur a moot point for everybody. . . . Some people are ok with the blur in Method C, some aren’t. Anecdotal evidence suggests that some people are fine with Method C when reading continuous text at 96 dpi (e.g. Times Reader, etc.) but not in UI scenarios. Many people are fine with the colors of ClearType, even at 96 dpi, but a few aren’t… To my eyes and at 96 dpi, Method C doesn’t read as well as Method A. It reads “blurrily” to me. Conversely, at 144 dpi, I don't see a problem with Method C. It looks and reads just fine to me." One illustration of the potential problem is the following image:

In the above block of text, the same portion of text is shown in the upper half without and in the lower half with ClearType rendering (as opposed to Standard and ClearType in the previous image). This demonstrates the blurring introduced.

… excerpt ends here. Continue reading the full article.

Illustrations

ClearType: 1 and 2 depict standard renderings of a ClearType and purely anti-aliased line, respectively, while 3 and 4 are the same lines enlarged. 5 shows how the ClearType line is rendered on a subpixel level.
1 and 2 depict standard renderings of a ClearType and purely anti-aliased line, respectively, while 3 and 4 are the same lines enlarged. 5 shows how the ClearType line is rendered on a subpixel level.
ClearType: Text without rendering (upper portion) and text with ClearType rendering (lower portion)
Text without rendering (upper portion) and text with ClearType rendering (lower portion)

Worked examples

Example 1 — a first encounter with ClearType

Start with the simplest possible case. Write down what ClearType claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to ClearType before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about ClearType ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of ClearType

In research
ClearType appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses ClearType in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
ClearType is common in secondary-school and first-year university syllabi. It links to neighbouring topics ClearType Font Collection, Computer-related introductions in 2000, Computer graphics algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for ClearType outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “ClearType” →

How to study ClearType in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what ClearType means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain ClearType out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is ClearType in simple terms?

ClearType is Microsoft's implementation of subpixel rendering technology in rendering text in a font system. ClearType attempts to improve the appearance of text on certain types of computer display screens by sacrificing color fidelity for additional intensity variation.

Why does ClearType matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study ClearType?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on ClearType.

Tags

  • ClearType Font Collection
  • Computer-related introductions in 2000
  • Computer graphics algorithms
  • Digital typography
  • Text rendering libraries
  • Windows components

Keep exploring