World Library  
Flag as Inappropriate
Email this Article

Monospaced font

Article Id: WHEBN0000053501
Reproduction Date:

Title: Monospaced font  
Author: World Heritage Encyclopedia
Language: English
Subject: Web typography, Inconsolata, River (typography), Droid fonts, Menlo (typeface)
Collection: Monospaced Typefaces, Typesetting
Publisher: World Heritage Encyclopedia

Monospaced font

Courier is a common monospace typeface

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 differ in size from one another, as do spacings in between many letters. The two high use letters 'I' and 'E' in both cases simply do not need the same footprint, while both differ in center to next letter edge (and center to center) spacing distance needs (margins) in variable width fonts. The variable that changes is the offset from what would otherwise be monospaced centering. In a modern proportional font every dimension can be scaled and change, 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 1
    • Use in ASCII art 1.1
    • Use in text-only grids 1.2
  • Use in science 2
  • Use in guitar/bass music 3
  • Use in film and theatre 4
  • See also 5
  • References 6
  • External links 7

Use in computers

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.

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 ASCII art

A monospaced font is often used in making ASCII art because of its ability to maintain the alignment of characters which are at the same position in different lines.

This is especially true in Line Drawing, where the characters are blocks and should be fixed-width.

Normal font Monospace font
┌─┐ ┌┬┐ [example of line drawing characters]

│ │ ├┼┤ [requires fixed-width, especially with spaces]
└─┘ └┴┘ [otherwise they are mis-aligned, as here.]

┌─┐ ┌┬┐ [example of line drawing characters]
│ │ ├┼┤ [requires fixed-width, especially with spaces]
└─┘ └┴┘ [otherwise they are mis-aligned, as in the left.]

Use in text-only grids

Monospaced fonts can produce an orthogonal grid for simple text-only board games. Or even in more elaborate text-only video games, such as Dwarf Fortress.

Use in science

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.

Use in guitar/bass music

Monospaced fonts are frequently used in tablature music for guitar and bass guitar.

Use in film and theatre

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 on average.[5]

See also


  1. ^ Rosendorf, Theodore (2009). The Typographic Desk Reference. New Castle, Delaware: Oak Knoll Press. p. 12.  
  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. ^ August, John. "How accurate is the page-per-minute rule?". Retrieved 17 November 2014. 

External links

  • Monospaced programming fonts
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from World eBook Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.