Lining Up
Chapter 8 introduces the properties that control the vertical alignment of horizontal text and the horizontal alignment of vertical text.
The links below will open the live example files or high-res PNG or JPEG screenshots in a new browser tab. Alternatively, you can download the entire collection as a zip archive or fork it as a GitHub repository. Be sure to read the O’Reilly Media policy on the use of example code.
- Example 8-1 & Figure 8-1 (text baseline comparison):
- Example 8-2 & Figure 8-2 (
baseline-shift
): - Example 8-3 & Figure 8-3 (simulating baseline shift with character positioning attributes):
Return to the main table of contents.