Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Monospaced font

From Wikipedia, the free encyclopedia
(Redirected fromMonospace)
Font whose characters occupy the same amount of horizontal space
"Monospace" redirects here. For the font named "Monospace", seeMonospace (typeface). For the car style, seeMonovolume.
Not to be confused withMonotype.
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Monospaced font" – news ·newspapers ·books ·scholar ·JSTOR
(May 2014) (Learn how and when to remove this message)
Comparison betweenvariable-width fonts and monospaced fonts

Amonospaced font, also called afixed-pitch,fixed-width, ornon-proportional font, is afont whose letters and characters each occupy the same amount of horizontal space.[1][a] This contrasts withvariable-width fonts, where the letters and spacings have different widths.

Monospaced fonts are customary ontypewriters and fortypesetting computer code.

Monospaced fonts were widely used in earlycomputers andcomputer terminals, which had limited graphical capabilities. Hardware implementation was simplified by using atext 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 includedreverse video and blinking text. Nevertheless, these early systems were typically limited to a singleconsole font.

Even though computers can now display a wide variety of fonts, the majority ofIDEs and softwaretext editors employ a monospaced font as the default typeface. This increases the readability ofsource 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 interminal 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 bydisassembler output, causing the information to align in vertical columns.

Optical character recognition has better accuracy with monospaced fonts. Examples areOCR-A andOCR-B.

The termmodern is sometimes used as a synonym formonospace generic font family. The termmodern can be used for a fixed-pitch generic font family name, which is used inOpenDocument format (ISO/IEC 26300:2006) andRich Text Format.[3][4]

Examples of monospaced fonts includeCourier,Lucida Console,Menlo,Monaco,Consolas,Inconsolata,PragmataPro andSource Code Pro.

Use in art

[edit]

Multiple art forms have developed within computers' and typewriters' monospaced typographic settings in which thenth 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 fontMonospaced font
┌─┐ ┌┬┐│ │ ├┼┤└─┘ └┴┘
┌─┐ ┌┬┐│ │ ├┼┤└─┘ └┴┘

The failure of a proportional font to reproduce the desired boxes above motivates monospaced fonts' use in the creation and viewing ofASCII andANSI 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 andNetHack) 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.

Tabular figures

[edit]
See also:Typeface § Typesetting numbers
Some fonts, such asHepta Slab (shown above), contains both proportional (left) and tabular (right) figures.CSS can be used to choose between these two sets of numeral glyphs.
Proportional (upper) and tabular (lower) figures inPalatino

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 ascash registers and date-stamps.[8] Fonts intended for professional use in documents such as business reports may also make the bold numbers take up the same width as the numbers in regular style; the consistency between styles is called "duplexing".[9]

Duplexed numerals inConcourse. The bold and non-bold digits have the same width.

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.[9] With modern fonts using the TrueType orOpenType 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 asword processors or web browsers.[10][11][12]

Other uses

[edit]

Inbiochemistry, monospaced fonts are preferred for displayingnucleic acid andprotein sequences, as they ensure that the representation of everynucleotide oramino acid occupies the same amount of space. Alignment of the letters makes it easier to compare different sequences visually.

Bothscreenplays andstage 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 pointCourier. A tradition holds that, on this format, one page of script will take one minute of screen or stage time.[13]

Monospaced fonts are frequently used intablature 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]

Notes

[edit]
  1. ^This definition does not apply to fonts withCJK support; seeDuospaced font § In CJK typography.

References

[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 (24 October 2001)."User Interface Design For Programmers".Joel On Software. Retrieved17 November 2014.
  3. ^OpenDocument v1.1 specification(PDF), retrieved2010-05-01.
  4. ^Microsoft Corporation (June 1992),Microsoft Product Support Services Application Note (Text File) – GC0165: RICH-TEXT FORMAT (RTF) SPECIFICATION(TXT), retrieved2010-03-13.
  5. ^"A New Face for Adobe".Typekit Blog. Adobe. Retrieved8 January 2016.
  6. ^Shinn, Nick."Shinntype Modern Suite specification"(PDF). Shinntype. Archived fromthe original(PDF) on 25 February 2021. Retrieved16 October 2015.
  7. ^Strizver, Elaine."Proportional vs. Tabular Figures".fonts.com. Monotype Imaging. Retrieved4 August 2014.
  8. ^"Revenue". Hoefler & Frere-Jones. Retrieved4 August 2014.
  9. ^ab"Gotham: Numerics".Hoefler & Frere-Jones. Retrieved27 September 2014.
  10. ^Butterick, Matthew."Alternate figures: consider the context".Butternick's Practical Typography.
  11. ^Saller, Carol."Old-Style Versus Lining Figures".Chronicle of Higher Education. Retrieved4 August 2014.
  12. ^Bergsland, David."Using numbers in the proper case". Design & Publishing Center. Archived fromthe original on 19 October 2007. Retrieved4 August 2014.
  13. ^August, John (22 March 2006)."How accurate is the page-per-minute rule?". Retrieved17 November 2014.
Page
Paragraph
Character
Typeface anatomy
Capitalization
Visual distinction
Horizontal aspects
Vertical aspects
Typeface
classifications
Roman type
Blackletter type
Gaelic type
Specialist
Punctuation (List)
Typesetting
Typographic units
Digital typography
Typography in other
writing systems
Related articles
Related template
Retrieved from "https://en.wikipedia.org/w/index.php?title=Monospaced_font&oldid=1278247445"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp