Consolas
From Wikipedia, the free encyclopedia
Typeface | Consolas |
---|---|
Category | Monospace |
Designer(s) | Lucas de Groot |
Foundry | Microsoft |
Sample | |
Consolas is a monospaced (non-proportional) typeface, designed by Lucas de Groot. It is a part of a new suite of fonts that take advantage of Microsoft's ClearType font hinting technology. It comes with Microsoft's Windows Vista and Microsoft Office 2007, and is available for download from Microsoft. Among the Windows Vista fonts, Consolas is most similar to the other monospaced fonts, Lucida Console and Courier New. It is the only standard Vista font with a slash through the zero character.
Contents |
[edit] Characteristics
Consolas is a departure in the realm of Windows programming fonts because it is designed to work with a specific form of font antialiasing, specifically Microsoft's ClearType technology. The font hinting is correspondingly ClearType-specific, and as a result the font is highly aliased when used with ClearType switched off.[1]
Consolas supports the following OpenType layout features: stylistic alternates, localized forms, uppercase-sensitive forms, oldstyle figures, lining figures, arbitrary fractions, superscript, subscript.
Although Consolas is designed as a replacement for Courier New, it only has 713 glyphs, as compared to Courier New (2.90)'s 1318 glyphs.
[edit] Usage in programming
Traditionally, Windows programmers have used Courier New or a similar fixed-width font to do their programming. Unlike other forms of displayed text (such as PDFs, web pages and word processor documents) computer code does not specify the font in which it should be displayed - the choice is left to the programmer.
[edit] Sample
Note that the images below will look different depending on if you have a CRT monitor or a LCD display. LCD displays can also produce different visuals depending on their subpixel-layout.
The following is a sample C++/CLI program using Consolas, with ClearType enabled.
For comparison, the same program using the traditional Windows programming font, Courier New.
As noted above; unlike Courier New, Consolas is not designed to be used with simple rasterization only and no antialiasing. If used as such, the result is highly aliased at many sizes.
However, even on systems that do not support ClearType (such as those running older versions of Windows), using simple grayscale antialiasing alleviates this.
[edit] External links
- Van Wagener, Anne (2005-03-04). The Next Big Thing in Online Type. The Design Desk. Poynter Online. Retrieved on 2006-06-05.
- Consolas Font Pack for Microsoft Visual Studio 2005. Microsoft (2006-05-03). Retrieved on 2007-09-02.
- Microsoft ClearType Font Collection at Microsoft Typography
- Microsoft ClearType Font Collection at Ascender Corporation
- Download Consolas Font Download Microsoft PowerPoint Viewer 2007 which includes the ClearType Collection
[edit] Notes
- ^ Consolas and ClearType, Jeff Atwood