Understanding the Font Style Elements

This section describes the font style attributes in Styles.Default. Two style elements control fonts: fonts and GraphFonts. Figure 14.8 shows the fonts and GraphFonts elements.

The Default style uses the fonts element for tabular reports. It uses the GraphFonts element for graphics driver output that supports style template definitions. This example focuses only on the fonts element for tabular output.

Recall from Figure 14.2 that the font attributes for the SystemTitle element are as follows:

FONT_FACE = "Arial, Helvetica, sans-serif"
FONT_SIZE = 5
FONT_WEIGHT = bold
FONT_STYLE = italic

The TitleFont attribute in the fonts style shows the same set of attributes, but arranged differently.

("Arial, Helvetica, ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.