O'Reilly logo

The LaTeX Companion, Second Edition by Michel Goossens, Frank Mittelbach, Chris Rowley, David Carlisle, Johannes Braams

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Fonts and Encodings

7.1. Introduction

Half of the job of (La)TeX as a typesetting system is to process the source document and to calculate from it the characters’ positions on the output page. But (La)TeX has only a primitive knowledge about these characters, which it basically regards as black boxes having a width, height, and depth. For each font these dimensions are stored in a separate external file, the so-called TeX font metric or .tfm file.

The character shapes that correspond to such a .tfm file come into play at a later stage, after (La)TeX has produced its .dvi file. Character placement information in the .dvi file and information about character shapes present in the .pk file or in outline descriptions (e.g., PostScript) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required