Jump to content

Metafont: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Lupin (talk | contribs)
No edit summary
added external links
Line 17: Line 17:
*[[Donald Knuth]]: ''The MetafontBOOK'', Addison-Wesley 1986. ISBN 0-201-13444-6
*[[Donald Knuth]]: ''The MetafontBOOK'', Addison-Wesley 1986. ISBN 0-201-13444-6


=== External Links ===
*[ftp://labrea.stanford.edu/pub/tex/mf/mfbook.tex] - Donald Knuth's MetaFont book freely available on his FTP server in Tex format.
*[http://jeff.cs.mcgill.ca/~luc/metafont.html] - Exhaustive collection of links relating to MetaFonts


[[Category:Programming languages]]
[[Category:Programming languages]]

Revision as of 10:54, 17 June 2004

Metafont is a programming language used to typeset outline fonts.

This programming language was devised by Donald Knuth as part of his famous TeX typesetting system. One of the characteristics of Metafont is that all the outlines of the glyphs are defined with powerful geometrical equations, e.g., you can define a given point to be the intersection of a segment of line and a Bézier curve.

You can use Metafont to render any kind of graphical output you wish, not just glyphs. However, MetaPost with its PostScript output is preferred for advanced illustrations.

Metafont is most commonly invoked without a direct request from the user. DVI files can only contain references to typefaces, rather than the sets of raster or vector glyphs that other formats like PostScript allow. Consequently the glyphs in the typefaces need to be accessed whenever a request is made to view, print or convert a DVI file. Most TeX distributions are configured so that any fonts not currently available at the required resolution are generated by calls to Metafont. The typefaces are then stored for later re-use.

References

  • Donald Knuth: Metafont: the Program, Addison-Wesley 1986. ISBN 0-201-13438-1
  • Donald Knuth: The MetafontBOOK, Addison-Wesley 1986. ISBN 0-201-13444-6
  • [1] - Donald Knuth's MetaFont book freely available on his FTP server in Tex format.
  • [2] - Exhaustive collection of links relating to MetaFonts