Assigning Fonts
- Last UpdatedDec 09, 2025
- 2 minute read
The attributes FONT, DFON, and PFON identify the font to be used for displaying textual information in a drawing. They can be assigned the font number directly, as in the following examples:
FONT 1
or
PFON 5
DFON 19
In the above example, the FONT attribute is assigned a AVEVA font no. 1, whereas PFON and DFON identify TrueType fonts (refer to the Administrator User Guide).
For TrueType fonts it is possible to preset the fonts as Bold and/or Italic. Therefore:
|
PFON 1005 |
Bold version of the TrueType font no. 5 |
|
PFON 2005 |
Italic version of the TrueType font no. 5 |
|
PFON 3005 |
Bold and Italic version of the TrueType font no. 5 |
Note that for AVEVA fonts the font itself determines its style (Bold, Italic, ).
For TrueType fonts it is also possible to specify the font by name:
FONT 'BOM font'
FONT 'BOM font Bold'
FONT 'BOM font Italic'
FONT 'BOM font Bold Italic'
The above commands select the TrueType font, whose description is 'BOM font', either in its basic style, or with the Bold or Italic attributes correspondingly. Note that the words 'Bold' and 'Italic' must be spelled as shown above to be recognized.
FONT FACE 'Times New Roman'
FONT FACE 'Times New Roman Bold'
FONT FACE 'Times New Roman Italic'
FONT FACE 'Times New Roman Bold Italic'
The addition of the FACE keyword instructs the system to search for the font face name instead of its description. This new syntax is compatible with the querying syntax:
Q FONTNAME
Q PFONTNAME
Q DFONTNAME
which return the string containing the description of the font followed by the possible 'Bold' and 'Italic' style descriptions. Note that if the font description is empty, its face name is used instead.