Method XbpFont():configure() Foundation
Installs a font corresponding to the updated instance variable values of the XbpFont object.
:configure( [<cFontName>] ) --> self
This method returns the object executing the method (self).
After a font is created using the method :create(), the instance variables of the XbpFont object can be assigned new values that describe a different font. The method :configure() can then be used to load the new font into memory. Executing :create() is not necessary once the XbpFont object has created a font. After :configure() is called, the previous font is discarded and is no longer available.
As with the method :create() (see the :create() method for more information), a font name can be optionally passed as a character string defining the point size and the new font name.
Property | Notes |
---|---|
:codePage | Incorrect codepage may cause wrong characters to appear |
:familyName | Determines general style of the font |
:generic | |
:width | |
:weightClass | May be simlulated by the OS, if an exact match cannot be found |
:bold | |
:height | May be simlulated by the OS, if an exact match cannot be found |
:nominalPointSize | May be simlulated by the OS, if an exact match cannot be found |
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.