UIfontAttributes

Synopsis

a subobject that represents the font family attributes of a UI object.

group UIfontAttributes {
       string family; // Name of WTfontFamilyList   object
          // specifying FFL for widget
          int height; // Text height in pixels
          enum weight = {medium, bold};
          enum slant = {regular, oblique};
          enum set_width = {normal, narrow, semicondensed};
          string fontString<NEvisible=0>;
    };

Description

UIfontAttributes is a subobject that encapsulates the attributes of a Font Family List ( FFL ) to be used for the text strings associated with an object. The FFL specified should be one already available in the locale database (which contains a hard-coded default and font families read in from in a customizable file, fonts.v ). For more details about adding fonts to AVS/Express via the fonts.v file, see BKL in the Developer's Reference .

Subobjects

family

String. The name of the Font Family List representing the required font. This should match an FFL in the locale database (see above). If it does not, the default font will be used.

height

Integer. The height of the font characters in pixels..

weight

enum. Either medium or bold.

slant

enum. Either regular or oblique.

set_width

enum. Either normal, narrow, or semicondensed.

fontstring <Not visible in Network Editor>

String

Example

Not Available

File

v/UI.v

See Also Related Modules