Monospaced font
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 had 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
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]
.Use in art
Multiple art forms have developed within computers' and typewriters' monospaced typographic settings in which the nth character of every line align vertically with each other. (Such a group of characters is sometimes called a column.) A proportional and monospaced font's reproduction of an element of ANSI art, line drawing, is illustrated below.
Proportional font | Monospaced font |
---|---|
┌─┐ ┌┬┐ │ │ ├┼┤ └─┘ └┴┘ |
┌─┐ ┌┬┐ │ │ ├┼┤ └─┘ └┴┘ |
The failure of a proportional font to reproduce the desired boxes above motivates monospaced fonts' use in the creation and viewing of ASCII and ANSI art. Some poetry composed monospaced on typewriters or computers also depends on the vertical alignment of character columns. E. E. Cummings' poetry is often set in monospaced type for this reason.[citation needed] Some classic video games (e.g. Rogue and NetHack) and those imitating their style (e.g. Dwarf Fortress) use a monospaced grid of characters to render their state for the player. Quiz Show (1976) is believed to be the first video game to use 8×8 monospaced "arcade font", which got widely adopted by computer games of the time.