Manual

169
setfont
setfont
Description
Establishes the specified font as the current font to use for drawing characters.
Usage
ScaledFontDict setfont
ScaledFontDict Dictionary. A font dictionary previously scaled by the
scalefont
operator.
Comments
In order to draw characters of a given font, the programmer must first use the findfont operator to
recover the desired font. Next, the programmer uses the scalefont operator to establish the desired
height for the characters. Finally, the programmer must establish the font as the font to use for all
future character drawing operations. The setfont operator performs this final operation.