IN THIS CHAPTER
Embedding Fonts in a Document
As previously mentioned throughout this book, the Web began as a vehicle for displaying very plain documents. The documents in question were of the research variety, needing only basic font handling, tables for data display, and the inclusion of graphics.
However, the Web has come a long way from that simple beginning. As more entities embraced the medium, the technology became more robust and able to handle more desktop publishing–like capabilities. Today's Web technologies can produce documents almost as rich in content and presentation as those produced by modern, dedicated publishing programs.
The most important characteristics are typography and layout. This chapter covers typography—namely, fonts—and how CSS handles them.
Fonts are stylized collections of letters and symbols, known as
glyphs. Fonts can be used to convey information—for example, specialized fonts can provide special characters or symbols. Although fonts can be quite different from one another, they share the same basic characteristics, as shown in Figure 29.1.
Figure 29.1. Font characteristics
These elements are defined as follows:
Baseline—The line on which glyphs of the font sit
Ascension—The highest point reached by most capital glyphs in the font. Note that technically ...