Method XbpCrt():setFont() Foundation
Sets or returns a font object used by the XbpCrt window.
:setFont( [<oXbpFont>] ) --> oXbpCurrentFont | NIL
The :setFont() method returns the current font object. When a new font is set, this method returns the previously set font object.
The :setFont() method works on the basis of an XbpFont object rather than a font compound name like the method :setFontCompoundName(). This allows for configuring an XbpFont object in detail and using it as the default font in an application window. The font is used to display text in a XbpCrt object. This includes the output of text-mode commands such as @..SAY.
After the font is installed, :setFont() updates the values in instance variables :fontName, :fontWidth and :fontHeight to reflect the properties of the font selected. Also, setting a new font for a XbpCrt window may impact the object's dimensions. See method :setSize() as well as the instance variables :fontWidth and :fontHeight for further information.
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.