This article needs additional citations for verification. (May 2014) |
A monospaced font, also called a fixed-pitch, fixed-width, or non-proportional font, is a font whose letters and characters each occupy the same amount of horizontal space.[1][a] This contrasts with variable-width fonts, where the letters and spacings have different widths.
Monospaced fonts are customary on typewriters and for typesetting computer code.
Monospaced fonts were widely used in early computers and computer terminals, which often had extremely limited graphical capabilities. Hardware implementation was simplified by using a text mode where the screen layout was addressed as a regular grid of tiles, each of which could be set to display a character by indexing into the hardware's character map. Some systems allowed colored text to be displayed by varying the foreground and background color for each tile. Other effects included reverse video and blinking text. Nevertheless, these early systems were typically limited to a single console font.
Even though computers can now display a wide variety of fonts, the majority of IDEs and software text editors employ a monospaced font as the default typeface. This increases the readability of source code, which is often heavily reliant on distinctions involving individual symbols, and makes differences between letters more unambiguous in situations like password entry boxes where typing mistakes are unacceptable.[2] Monospaced fonts are also used in terminal emulation and for laying out tabulated data in plain text documents. In technical manuals and resources for programming languages, a monospaced font is often used to distinguish code from natural-language text. Monospaced fonts are also used by disassembler output, causing the information to align in vertical columns.
Optical character recognition has better accuracy with monospaced fonts. Examples are OCR-A and OCR-B.
The term modern is sometimes used as a synonym for monospace generic font family. The term modern can be used for a fixed-pitch generic font family name, which is used in OpenDocument format (ISO/IEC 26300:2006) and Rich Text Format.[3][4]
Examples of monospaced fonts include Courier, Lucida Console, Menlo, Monaco, Consolas, Inconsolata and Source Code Pro.
Cite error: There are <ref group=lower-alpha>
tags or {{efn}}
templates on this page, but the references will not show without a {{reflist|group=lower-alpha}}
template or {{notelist}}
template (see the help page).
© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search