Member variable XbpFont():generic Foundation

Determines whether the font is a device independent font.

Attribute: EXPORTED
Data type: Logical (.T.)
Description

The :generic instance variable specifies whether a font to be created should be device independent . If this contains the value .T. (true) when :create() is called, the font object attempts to select a device independent font that most closely matches the properties specified in the font object's other instance variables. This can be used to have a font created that matches your specifications but whose name is not known, for example.

:generic contains the value .T. (true) after creation of the font object when the corresponding font is device independent and its characters can be displayed on any output device (they can be output on the screen and to the printer). If :generic contains the value .F. (false), the font is device dependent and the font characters can only be displayed on a specific output device. This is common for a large number of print fonts that can only be printed and not displayed on the screen. Most system fonts, however, are device independent.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.