Monospaced font

From Wikipedia, the free encyclopedia
  (Redirected from Monospace font)
Jump to: navigation, search
This article is about a style of font. For the font named "Monospace", see Monospace (Unicode).
"Monospace" redirects here. For the car style, see Three-box styling § One-box design.

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] This contrasts with variable-width fonts, where the letters and spacings have different widths. For example, the two high-use letters "I" and "E" do not need the same footprint. Both letters differ in center-to-next-letter edge (and center-to-center) spacing distance needs (margins) in variable width fonts. The variable that changes is offset from what would otherwise be monospaced centering. In a modern proportional font, every dimension can be scaled and changed, but such sizing mathematically must still maintain monospacing or variable spacing.

Note that this article generally assumes Western (Latin-based, Cyrillic, or Greek) writing systems. East Asian rules of typography, for example, require CJK fonts to be always monospaced at least as far as the main characters for writing words (i.e. not punctuation) are concerned. Other scripts vary in their use of monospaced fonts.

The first monospaced Western typefaces were designed for typewriters, which could only move the same distance forward with each letter typed—simply because all striker arms on a typewriter are physically the same width or won't align and pass through the positioning gap. This also later meant that monospaced fonts need not be hand-typeset (since Gutenberg, using physical blocks) and electric motorized cam driven auto typesetters could be manufactured. Monospace fonts being the same size and spacing, unlike variable width fonts and were and are arguably, easier to deal with since everything is uniformly spaced.

Examples of monospaced fonts include Courier, Courier New, Lucida Console, Monaco, and Consolas.

Use in computers[edit]

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.

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 used in OpenDocument format (ISO/IEC 26300:2006) and Rich Text Format.[3][4]

Use in art[edit]

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 Monospace 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 (eg. Nethack) and those imitating their style (eg. Dwarf Fortress) use a monospaced grid of characters to render their state for the player.

Tabular figures[edit]

Proportional (upper) and tabular (lower) figures. The font shown is Palatino.

Many fonts that generally are not monospaced have numerals that are, known as tabular figures.[5][6] As tabular spacing makes all numbers with the same number of digits the same width, it is used for typesetting documents such as price lists, stock listings and sums in mathematics textbooks, all of which require columns of numbers to line up on top of each other for easier comparison.[7] Tabular spacing is also a common feature of simple printing devices such as cash registers and date-stamps.[8] Fonts intended for professional use in documents such as business reports may also make the bold style numbers take up the same width as the regular, so a total in bold takes up the same width as the sum in regular style.[9]

The alternative to tabular spacing is proportional spacing, which places the numbers closely together, reducing empty space in a document, and is thought to allow the numbers to blend into the text more effectively.[10] With modern fonts using the TrueType or OpenType formats, it is possible to include both proportional and tabular figures in the same font file, and choose between them using font options settings in applications such as Microsoft Word or web browsers.[11][12][13]

Duplexed numerals in the Concourse family. The total in bold has the same width as the regular-width sum.

Fonts intended for professional use in documents such as business reports may also make the bold-style numbers take up the same width as the regular (non-bold) numbers, so a bold-style total would appear just as wide as the same sum in regular style.[14]

Other uses[edit]

In biochemistry, monospaced fonts are preferred for displaying nucleic acid and protein sequences, as they ensure that the representation of every nucleotide or amino acid occupies the same amount of space. Alignment of the letters makes it easier to compare different sequences visually.

Both screenplays and stage play scripts frequently use monospaced fonts, to make it easier to judge the time a script will last for from the number of pages. The industry standard is 12 point Courier. A tradition holds that on this format one page of script will take one minute of screen or stage time.[15]

Monospaced fonts are frequently used in tablature music for guitar and bass guitar. Each line in a tabulature represents a guitar string, which requires that chords played across multiple strings be tabbed in vertical sequence, a feat accomplished only with the predictability of fixed width.

See also[edit]


  1. ^ Rosendorf, Theodore (2009). The Typographic Desk Reference. New Castle, Delaware: Oak Knoll Press. p. 12. ISBN 978-1-58456-231-3. 
  2. ^ Spolsky, Joel. "User Interface Design For Programmers". Joel On Software. Retrieved 17 November 2014. 
  3. ^ OpenDocument v1.1 specification (PDF), retrieved 2010-05-01 .
  4. ^ Microsoft Corporation (June 1992), Microsoft Product Support Services Application Note (Text File) – GC0165: RICH-TEXT FORMAT (RTF) SPECIFICATION (TXT), retrieved 2010-03-13 .
  5. ^ "A New Face for Adobe". Typekit Blog. Adobe. Retrieved 8 January 2016. 
  6. ^ Shinn, Nick. "Shinntype Modern Suite specification" (PDF). Shinntype. Retrieved 16 October 2015. 
  7. ^ Strizver, Elaine. "Proportional vs. Tabular Figures". Monotype Imaging. Retrieved 4 August 2014. 
  8. ^ "Revenue". Hoefler & Frere-Jones. Retrieved 4 August 2014. 
  9. ^ "Gotham Numerics". Hoefler & Frere-Jones. Retrieved 27 September 2014. 
  10. ^ "Gotham: Numerics". Hoefler & Frere-Jones. Retrieved 4 August 2014. 
  11. ^ Butterick, Matthew. "Alternate figures: consider the context". Butternick's Practical Typography. 
  12. ^ Saller, Carol. "Old-Style Versus Lining Figures". Chronicle of Higher Education. Retrieved 4 August 2014. 
  13. ^ Bergsland, David. "Using numbers in the proper case". Design & Publishing Center. Retrieved 4 August 2014. 
  14. ^ "Gotham Numerics". Hoefler & Frere-Jones. Retrieved 27 September 2014. 
  15. ^ August, John. "How accurate is the page-per-minute rule?". Retrieved 17 November 2014. 

External links[edit]