TrueType Fonts
- Last UpdatedDec 01, 2021
- 2 minute read
In order to store information about TrueType fonts, the element TTFONT is stored as a member of the Font World (FTWL) element in the SYSTEM database. It has the following attributes:
-
TTFIND - numerical font ID
-
TTFACE - TrueType font face name (e.g. 'Arial')
-
TTFDES - TrueType font description to be shown to the user in the application's user interface
TTFIND
The whole font ID interval (1 to 63) has been divided into ranges reserved for AVEVA fonts, and for TrueType fonts:
|
Range |
Reserved for Fonts |
|
1 - 4 |
AVEVA |
|
5 - 9 |
TrueType |
|
10 - 16 |
AVEVA |
|
17 - 19 |
TrueType |
|
20 - 26 |
AVEVA |
|
27 - 29 |
TrueType |
|
30 - 36 |
AVEVA |
|
37 - 39 |
TrueType |
|
40 - 46 |
AVEVA |
|
47 - 49 |
TrueType |
|
50 - 56 |
AVEVA |
|
57 - 62 |
TrueType |
|
63 |
AVEVA |
This provides the ability to register up to 23 TrueType fonts per project. Unlike for AVEVA fonts, a single TrueType font includes all combinations of styles: standard, bold, italic, and bold italic. Whereas the 'italic' style corresponds to the 'Forward' AVEVA font style, there is no equivalent for 'Reverse' AVEVA font style in TrueType fonts.
TTFACE
The font face name is the name by which a font is recognized by the operating system. Even though the fonts like 'Arial', 'Times New Roman', or 'Courier New' should be available on all Microsoft Windows operating systems, they can have a different font face name on some localized versions of Windows.
Defining the True Type font face name in non-Latin characters, for example, Chinese or Japanese, can cause problems in Isodraft. We recommend always using Latin characters for the font face name.
TTFDES
The font description is the text to be shown to the user, whereas the face name is intended to be used only internally. It is initialized to be the same as the font face name, but can be modified by the administrator.