Findfont – AMT Datasouth PAL User Manual
Page 108

findfont
102
findfont
Description
Locates a font in the font resource directory.
Usage
FontName
findfont
FontDict
FontName
Literal name. Name assigned to font in the font directory.
FontDict
Dictionary. Copy of font's dictionary from the font directory. PAL creates a new
dictionary containing the same information as the font's dictionary in the font
directory. However, the programmer and PAL can add or delete entries in this
new dictionary without affecting the original font dictionary.
Comments
PAL creates a copy of the font dictionary contained in the font directory so that the programmer
may apply scaling and other alterations to the font. Although PAL makes a copy of the original
font dictionary, the new dictionary shares its objects with the original dictionary. This means that
the programmer may add and delete entries within the new dictionary. However, the programmer
should not attempt to alter any of the objects already present within the dictionary. If existing
objects require modification, the programmer must completely replace the original object with a
new object.