Computer Modern

Last updated
Computer Modern
Computer Modern Sample.svg
Category Serif
Classification Didone
Designer(s) Donald Knuth
License SIL Open Font License
Computer modern sample.svg
Sample

Computer Modern is the original family of typefaces used by the typesetting program TeX. It was created by Donald Knuth with his Metafont program, and was most recently updated in 1992. [1] Computer Modern, or variants of it, remains very widely used in scientific publishing, especially in disciplines that make frequent use of mathematical notation.

Contents

Design

Computer Modern is based on late-1800s Didone type. Its direct inspiration, Monotype Modern, is at top; similar typefaces of the era included Century, Excelsior and Clarendon. Clarendon comparison with body text faces.png
Computer Modern is based on late-1800s Didone type. Its direct inspiration, Monotype Modern, is at top; similar typefaces of the era included Century, Excelsior and Clarendon.

Computer Modern is a "Didone", or modern serif font, a genre that emerged in the late 18th century as a contrast to the more organic designs that preceded them. Didone fonts have high contrast between thick and thin elements, and their axis of "stress" or thickening is perfectly vertical. Computer Modern was specifically based on the 10 point size of the American Lanston Monotype Company's Modern Extended 8A, part of a family Monotype originally released in 1896. [2] [3] This was one of many modern faces issued by typefounders and Monotype around this period, and the standard style for body text printing in the late nineteenth century. [4] [5]

In creating the TeX publishing system, Knuth was influenced by the history of mathematics and a desire to achieve the "classic style" of books printed in metal type. [6] [7] Modern faces were used extensively for printing mathematics, especially before Times New Roman became popular for mathematics printing from the 1950s. [8] [9] [10]

The most unusual characteristic of Computer Modern, however, is the fact that it is a complete type family designed with Knuth's Metafont system, one of the few typefaces developed in this way. The Computer Modern source files are governed by 62 distinct parameters, controlling the widths and heights of various elements, the presence of serifs or old-style numerals, whether dots such as the dot on the "i" are square or rounded, and the degree of "superness" in the bowls of lowercase letters such as "g" and "o". This allows Metafont designs to be processed in unusual ways; Knuth has shown effects such as morphing in demonstrations, where one font slowly transitions into another over the course of a text. [11] While it attracted attention for the concept, Metafont has been used by few other font designers; by 1996 Knuth commented "asking an artist to become enough of a mathematician to understand how to write a font with 60 parameters is too much" [12] while digital-period font designer Jonathan Hoefler commented in 2015 that "Knuth's idea that letters start with skeletal forms is flawed". [13]

Derived versions

A sample gallery of many of the fonts from the CMU (Computer Modern Unicode) font family CMU Fonts.png
A sample gallery of many of the fonts from the CMU (Computer Modern Unicode) font family

Knuth produced his original Computer Modern fonts using Metafont, a program that reads stroke-based definitions of glyphs and outputs ready-to-use fonts as bitmap image files. He mostly left the font, as with other components of TeX (with the exception of the TeX and Metafont names themselves, a stipulation Knuth made to maintain quality control), in the public domain. [14] [15]

The advance of publishing technology (PostScript, PDF, laser printers) has reduced the need for bitmap fonts. The preferred formats are now outline fonts such as Type 1, TrueType, or OpenType, which can be rendered efficiently at arbitrary resolution and using sophisticated anti-aliasing techniques by printer firmware or on-screen document viewers. Therefore, several other projects have ported the Computer Modern fonts into such formats. Some of these projects have also complemented Computer Modern with

Several such derivatives are now also widely used and included in TeX Live, a modern TeX distribution.

CMU

A current extended release of the Computer Modern family in the general-purpose OpenType format is the CMU distribution (for Computer Modern Unicode):

CMU is released under the SIL Open Font License.

BlueSky

Computer Modern used to set a math formula in TeX, the font's original purpose Computer modern sample text.svg
Computer Modern used to set a math formula in TeX, the font's original purpose

Computer Modern was first transformed to a PostScript Type 3 font format by BlueSky, Inc. in 1988, and then to Type 1 in 1992 to include font hinting. [16] The Type 1 version has since then been donated to the American Mathematical Society (AMS) which distributes them freely under the Open Font License. [17] It is found in most standard TeX distributions.

Latin Modern

The Latin Modern implementation, maintained by Bogusław Jackowski and Janusz M. Nowacki of TeX User Group Poland (GUST), is now standard in the TeX community and was made through a Metafont/MetaPost derivative called METATYPE1. It was derived from the BlueSky Type 1 fonts, which were converted back into outline-based METATYPE1 programs, from which then the extended Type 1 and OpenType Latin Modern fonts were developed. ConTeXt uses Latin Modern as default font, instead of Computer Modern. [18]

The Type 1 to METATYPE1 to Type 1 round-trip conversion process involved in the production of the Latin Modern fonts tried to preserve the hinting information of the BlueSky fonts; however, it introduced rounding errors that affect the quality of the hinting at low pixel sizes. As a result, on-screen display of the Latin Modern fonts can result in a less even display of kerning and character heights than with the BlueSky fonts. [19]

The same process was later extended to some free PostScript font clones under the umbrella project TeX Gyre. [20]

The Latin Modern font has also gained an OpenType math table. [21] [22] Unlike Computer Modern Math, Latin Modern Math has no pairwise kerning information: OpenType math rendering does not make use of this type of kerning, making such information useless. [23]

New Computer Modern

The New Computer Modern font family [24] is a large extension in terms of the number of additional glyphs of the Latin Modern fonts which adds support for several more languages such as Greek, Cyrillic, Hebrew, Cherokee and Coptic. This font family comes in two weights, “Regular” and “Book”. The book weight is supposed to look slightly heavier compared to the “Regular”. Both the weights include support for typesetting mathematics; complete coverage of unicode math blocks is provided, along with some more glyphs needed for mathematics.

MLModern

MLModern [25] is based on the Latin Modern font. It avoids the spindliness of most other Type 1 versions of Computer Modern and hence looks thicker in comparison to Latin Modern or Computer Modern.

A visual comparison of Computer Modern, Latin Modern, New Computer Modern Book and MLModern is shown here.

Computer Modern 2.svg Latin Modern.svg New Computer Modern Book.svg MLModern.svg

Others

See also

Related Research Articles

<span class="mw-page-title-main">LaTeX</span> Document preparation software system

LaTeX is a software system for typesetting documents. LaTeX markup describes the content and layout of the document, as opposed to the formatted text found in WYSIWYG word processors like Microsoft Word, LibreOffice Writer and Apple Pages. The writer uses markup tagging conventions to define the general structure of a document, to stylise text throughout a document, and to add citations and cross-references. A TeX distribution such as TeX Live or MiKTeX is used to produce an output file suitable for printing or digital distribution.

TeX, stylized within the system as TeX, is a typesetting system which was designed and written by computer scientist and Stanford University professor Donald Knuth and first released in 1978. TeX is a popular means of typesetting complex mathematical formulae; it has been noted as one of the most sophisticated digital typographical systems.

<span class="mw-page-title-main">Blackboard bold</span> Typeface style

Blackboard bold is a style of writing bold symbols on a blackboard by doubling certain strokes, commonly used in mathematical lectures, and the derived style of typeface used in printed mathematical texts. The style is most commonly used to represent the number sets , (integers), , , and .

Metafont is a description language used to define raster fonts. It is also the name of the interpreter that executes Metafont code, generating the bitmap fonts that can be embedded into e.g. PostScript. Metafont was devised by Donald Knuth as a companion to his TeX typesetting system.

<span class="mw-page-title-main">Typeface</span> Set of characters that share common design features

A typeface is a design of letters, numbers and other symbols, to be used in printing or for electronic display. Most typefaces include variations in size, weight, slope, width, and so on. Each of these variations of the typeface is a font.

<span class="mw-page-title-main">Italic type</span> Font style characterised by cursive typeface and slanted design

In typography, italic type is a cursive font based on a stylised form of calligraphic handwriting. Along with blackletter and roman type, it served as one of the major typefaces in the history of Western typography.

MetaPost refers to both a programming language and the interpreter of the MetaPost programming language. Both are derived from Donald Knuth's Metafont language and interpreter. MetaPost produces vector graphic diagrams from a geometric/algebraic description. The language shares Metafont's declarative syntax for manipulating lines, curves, points and geometric transformations. However,

<i>Computers and Typesetting</i> 1986 book series on digital typography by American computer scientist Donald Knuth

Computers and Typesetting is a 5-volume set of books by Donald Knuth published in 1986 describing the TeX and Metafont systems for digital typography. Knuth's computers and typesetting project was the result of his frustration with the lack of decent software for the typesetting of mathematical and technical documents. The results of this project include TeX for typesetting, Metafont for font construction and the Computer Modern typefaces that are the default fonts used by TeX. In the series of five books Knuth not only describes the TeX and Metafont languages, he also describes and documents the source code of the TeX and Metafont interpreters, and the source code for the Computer Modern fonts used by TeX. The book set stands as a tour de force demonstration of literate programming.

<span class="mw-page-title-main">Courier (typeface)</span> Monospaced slab serif font of IBM

Courier is a monospaced slab serif typeface. Courier was created by IBM in the mid-1950s, and was designed by Howard "Bud" Kettler (1919–1999). The Courier name and typeface concept are in the public domain. Courier has been adapted for use as a computer font, and versions of it are installed on most desktop computers.

<span class="mw-page-title-main">Lucida</span> Typeface family designed by Charles Bigelow and Kris Holmes in 1984

Lucida is an extended family of related typefaces designed by Charles Bigelow and Kris Holmes and released from 1984 onwards. The family is intended to be extremely legible when printed at small size or displayed on a low-resolution display – hence the name, from 'lucid'.

A computer font is implemented as a digital data file containing a set of graphically related glyphs. A computer font is designed and created using a font editor. A computer font specifically designed for the computer screen, and not for printing, is a screen font.

<span class="mw-page-title-main">AMS Euler</span>

AMS Euler is an upright cursive typeface, commissioned by the American Mathematical Society (AMS) and designed and created by Hermann Zapf with the assistance of Donald Knuth and his Stanford graduate students. It tries to emulate a mathematician's style of handwriting mathematical entities on a blackboard, which is upright rather than italic. It blends very well with other typefaces made by Hermann Zapf, such as Palatino, Aldus and Melior, but very badly with the default TeX font Computer Modern. All the alphabets were implemented with the computer-assisted design system Metafont developed by Knuth. Zapf designed and drew the Euler alphabets in 1980–81 and provided critique and advice of digital proofs in 1983 and later. The typeface family is copyright by American Mathematical Society, 1983. Euler Metafont development was done by Stanford computer science and/or digital typography students; first Scott Kim, then Carol Twombly and Daniel Mills, and finally David Siegel, all assisted by John Hobby. Siegel finished the Metafont Euler digitization project as his M.S. thesis in 1985.

<span class="mw-page-title-main">Concrete Roman</span> Typeface designed by Donald Knuth

Concrete Roman is a slab serif typeface designed by Donald Knuth using his METAFONT program. It was intended to accompany the Euler mathematical font which it partners in Knuth's book Concrete Mathematics. It has a darker appearance than its more famous sibling, Computer Modern. Some favour it for use on the computer screen because of this, as the thinner strokes of Computer Modern can make it hard to read at low resolutions.

TeX font metric (TFM) is a font file format used by the TeX typesetting system. It is a font metric format, not an outline font format like TrueType, because it provides only the information necessary to typeset the font such as each character's width, height and depth. The actual glyphs are stored elsewhere. This is not unique to TeX; Adobe's AFM files and Windows' PFM files use the same technique.

<span class="mw-page-title-main">Cambria (typeface)</span> Serif font family

Cambria is a transitional serif typeface commissioned by Microsoft and distributed with Windows and Office. It was designed by Dutch typeface designer Jelle Bosma in 2004, with input from Steve Matteson and Robin Nicholas. It is intended as a serif font that is suitable for body text, that is very readable printed small or displayed on a low-resolution screen and has even spacing and proportions.

<span class="mw-page-title-main">Font</span> Particular size, weight and style of a typeface

In metal typesetting, a font is a particular size, weight and style of a typeface. Each font is a matched set of type, with a piece for each glyph. A typeface consists of various fonts that share an overall design.

<span class="mw-page-title-main">GNU FreeFont</span> Font family

GNU FreeFont is a family of free OpenType, TrueType and WOFF vector fonts, implementing as much of the Universal Character Set (UCS) as possible, aside from the very large CJK Asian character set. The project was initiated in 2002 by Primož Peterlin and is now maintained by Steve White.

<span class="mw-page-title-main">XITS font project</span> Various typeface

The XITS font project is an OpenType implementation of STIX fonts version 1.x with math support for mathematical and scientific publishing. The main mission of the Times-like XITS typeface is to provide a version of STIX fonts enriched with the OpenType MATH extension.

OML is a 7-bit TeX encoding developed by Donald E. Knuth. It encodes italic Latin and Greek letters for mathematical formulas and various symbols.

<span class="mw-page-title-main">Bogusław Jackowski</span> Polish computer scientist (born 1950)

Bogusław L. Jackowski, also known as "Jacko", is a Polish computer scientist, typographer, publisher, and amateur musician. He is best known for his work on the TeX typesetting system, the Latin Modern font family, and the TeX Gyre project.

References

  1. "Knuth: Message about TeX fonts". Cs-faculty.stanford.edu. Archived from the original on 2015-05-20. Retrieved 2015-06-12.
  2. Donald Ervin Knuth (1986). Computer Modern Typefaces. Addison-Wesley Publishing Company. p. 10. ISBN   978-0-201-13446-9.
  3. The Monotype Specimen Book of Type Faces. Philadelphia: Lanston Monotype Machine Company. 1922. Retrieved 17 August 2018.
  4. Williamson, Hugh (1956). Methods of Book Design. Oxford: Oxford University Press. pp. 96–8. Throughout the first half of the 19th century, modern faces held the typographic field against nearly all comers. Not all typefounders and punch-cutters were very enthusiastic about this kind of type-face, but the popular demand had to be met.
  5. McGrew, Mac (1993). American Metal Typefaces of the Twentieth Century (Seconde édition révisée. ed.). New Castle: Oak Knoll Press. pp. 220–221. ISBN   0-938768-39-5. In the early 1900s Monotype adapted a number of modern roman text faces to its system, mostly in a few small sizes only; some of them differ from each other only in slight changes of their proportions.
  6. Knuth, Donald (1986). "Remarks to Celebrate the Publication of Computers & Typesetting" (PDF). TUGboat. 7 (2): 95–8. Retrieved 24 September 2015.
  7. Knuth, Donald. "Commemorative lecture of the Kyoto Prize, 1996" (PDF). Kyoto Prize. Archived from the original (PDF) on 27 January 2018. Retrieved 18 August 2018.
  8. Rhatigan, Daniel. "Three typefaces for mathematics" (PDF). University of Reading (MA thesis). Retrieved 2 February 2016.
  9. Chaundy, T. W.; Barett, P. R.; Batey, Charles (1954). The Printing of Mathematics . Oxford University Press.
  10. Rhatigan, Daniel. "The Monotype 4-Line System for Setting Mathematics". Type Culture. Retrieved 17 August 2018.
  11. Knuth, Donald (1982). "The Concept of a Meta-Font" (PDF). Visible Language. 16 (1): 3–27. Retrieved 21 September 2023.
  12. CSTUG, Charles University, Prague, March 1996, Questions and Answers with Prof. Donald E. Knuth, reproduced in TUGboat 17 (4) (1996), 355–67. Citation is from page 361. Available online at http://www.tug.org/TUGboat/Articles/tb17-4/tb53knuc.pdf
  13. Hoefler, Jonathan. "Knuth's idea that letters start with skeletal forms is flawed. But his work is important and had lasting impact". Twitter. Retrieved 18 August 2018.
  14. Bigelow, Charles; Day, Donald (1983). "Chapter 28" (PDF). Digital Typography. Vol. 249. Scientific American. p. 560. Bibcode:1983SciAm.249b.106B. doi:10.1038/scientificamerican0883-106. Archived (PDF) from the original on 23 February 2024. All of the methods described in these books are in the public domain; thus anybody can freely use any of the ideas. The only thing I'm retaining control of is the names, TeX and METAFONT(...) If any changes are made, I won't complain, as long as the changed systems are not called TEX or METAFONT.
  15. Knuth, Donald E (1986), "Computers and Typesettings" (PDF), TUGboat, 7: 95–98, archived (PDF) from the original on 23 February 2024, and which he (Leslie Lamport), like Don, placed in the public domain.
  16. "Blue Sky Research and Computer Modern fonts". Math.utah.edu. 1997-12-04. Archived from the original on 23 February 2024. Retrieved 2015-06-12.
  17. "The Adobe Type 1 fonts, previously known on CTAN archives as the "bluesky" fonts, are now distributed as part of the AMS fonts distribution, at CTAN:fonts/amsfonts". Ctan.org. Retrieved 2015-06-12.[ better source needed ]
  18. "FAQ". wiki.contextgarden.net. Archived from the original on 23 February 2024. Retrieved 2015-06-12.
  19. buster (22 December 2010). "LaTeX forum ⇒ Fonts & Character Sets ⇒ A E F and T sized differently in lmodern pacakge?". Latex Community. Archived from the original on 23 February 2024. Retrieved 2015-06-12.
  20. Hagen, Hans; Ludwichowski, Jerzy B.; Schaa, Volker RW (2006). "The New Font Project : TEX Gyre" (PDF). TUGboat. Archived (PDF) from the original on 23 February 2024. Retrieved 2015-06-12.
  21. "The Latin Modern Math (LM Math) font". Gust.org.pl (in Polish). Archived from the original on 23 February 2024. Retrieved 2015-06-12.
  22. "lm-math – OpenType maths fonts for Latin Modern". CTAN Comprehensive TEX Archive Network. 2014-09-05. Archived from the original on 23 February 2024. Retrieved 2015-06-12.
  23. Sundqvist, Mikael "mickep" (Aug 5, 2023). "opentype math font kern". TeX - LaTeX Stack Exchange. Retrieved 24 February 2024.
  24. "NewComputerModern – Computer Modern fonts including matching non-latin alphabets". CTAN Comprehensive TEX Archive Network. Archived from the original on 23 February 2024. Retrieved 2021-12-12.
  25. "MLModern – A blacker Type 1 version of Computer Modern, with multilingual support". CTAN Comprehensive TEX Archive Network. Archived from the original on 23 February 2024. Retrieved 2021-12-12.
  26. "tex-archive/fonts/ps-type1/cm-super". CTAN Comprehensive TEX Archive Network. Archived from the original on 23 February 2024. Retrieved 2015-06-12.

    Further reading