Please enable JavaScript to view this site.

ESL Documentation

Navigation: ESL Documentation > ESL Printing > Initialization File

Font Attribute Pitch And Family

Scroll Prev Top Next More

PitchAndFamily

Specifies the pitch and family of the font. The two low-order bits, of this single byte parameter specify the pitch of the font and can be one of the following values.

DEFAULT_PITCH

0

FIXED_PITCH

1

VARIABLE_PITCH

2

Bits 4 through 7 of the parameter specify the font family and can be one of the following values.

DECORATIVE

80

DONTCARE

0

MODERN

48

ROMAN

16

SCRIPT

64

SWISS

32

The required value can be obtained by using a boolean 'OR' operator to join the pitch constant with the family constant.

Font families describe the look of a font in a general way. They are intended for specifying fonts when the exact typeface desired is not available.