Jump to content

Consolas

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 76.167.45.203 (talk) at 04:33, 13 July 2009 (→‎Usage in programming: deleted fragment section. this isn't really specific to Consolas at all.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Consolas
CategoryMonospaced
Designer(s)Lucas de Groot
FoundryMicrosoft
Consolas sample text
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 rendering 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, Monaco and Courier New[vague]. It is the only standard Vista font with a slash through the zero character.

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 Monaco, it only has 713 glyphs, as compared to Courier New (2.90)'s 1318 glyphs.

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 anti-aliasing. 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 anti-aliasing alleviates this (to a degree).

Availability

This font, along with Calibri, Candara, Cambria, Constantia and Corbel, is also distributed with the free Powerpoint 2007 Viewer[2] and the Microsoft Office Compatibility Pack[3].

Consolas is also available for licensing from Ascender Corporation.

Raph Levien cites Consolas as an inspiration for Inconsolata, a monospaced font of his creation[4]. Inconsolata is released under the SIL Open Font License and is available as a package for Debian, Ubuntu and other Linux distros[5].

References

  • Van Wagener, Anne (2005-03-04). "The Next Big Thing in Online Type". The Design Desk. Poynter Online. Retrieved 2006-06-05.
  • "Consolas Font Pack for Microsoft Visual Studio 2005". Microsoft. 2006-05-03. Retrieved 2007-09-02.
  • Microsoft ClearType Font Collection at Microsoft Typography
  • Download Consolas Font Download Microsoft PowerPoint Viewer 2007 which includes the ClearType Collection

Notes