Metafont: Difference between revisions
No edit summary |
m More gratuitous use of <sub> |
||
Line 2: | Line 2: | ||
This programming language was devised by [[Donald Knuth]] as part of his famous |
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 |
[[TeX|T<sub>E</sub>X]] typesetting system. One of the characteristics of Metafont is that all the outlines |
||
of the [[glyph]]s are defined with powerful geometrical equations, e.g., you can |
of the [[glyph]]s 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 |
define a given point to be the intersection of a segment of line and a |
||
Line 10: | Line 10: | ||
just glyphs. However, [[MetaPost]] with its [[PostScript]] output is preferred for advanced illustrations. |
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 file format|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 |
Metafont is most commonly invoked without a direct request from the user. [[DVI file format|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 T<sub>E</sub>X distributions are configured so that any fonts not currently available at the required [[dpi|resolution]] are generated by calls to Metafont. The typefaces are then stored for later re-use. |
||
<!-- could say something here about alternatives - e.g. vector versions such as pdftex uses --> |
<!-- could say something here about alternatives - e.g. vector versions such as pdftex uses --> |
||
Line 18: | Line 18: | ||
=== External Links === |
=== External Links === |
||
*ftp://labrea.stanford.edu/pub/tex/mf/mfbook.tex - Donald Knuth's MetaFont book freely available on his FTP server in |
*ftp://labrea.stanford.edu/pub/tex/mf/mfbook.tex - Donald Knuth's MetaFont book freely available on his FTP server in T<sub>E</sub>X format. |
||
*http://jeff.cs.mcgill.ca/~luc/metafont.html - Exhaustive collection of links relating to MetaFonts |
*http://jeff.cs.mcgill.ca/~luc/metafont.html - Exhaustive collection of links relating to MetaFonts |
||
Revision as of 23:36, 20 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
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