choosefont
string
Enables the operator to select a font name via an interactive "Font Select" window. When this function is invoked, a font selection popup window is displayed and the user can display samples of fonts and choose one. The fonts displayed by this window are not Fire fonts but external "system" fonts available within the current windowing system. On Windows systems, only TrueType fonts are listed.
The value returned by this function is the name of the chosen font, suitable for the subsequent definition of a Fire font. The font is selected by pressing the ’OK’ or ’Select’ button in the popup window.
Pressing the ’Cancel’ button will abort the operation and return an empty string.
No action is done to the selected font. This is the responsibility of the caller. Typically a Fire font would be created from the result.
None
string fname = choosefont
if (fname) {
font myfont,fname,-sys
}
|
Functions: |