Name
pfontdesc:GetSetFields -- determine which fields have been set
Synopsis
mask = pfontdesc:GetSetFields()
Function
Determines which fields in a font description have been set.

This function returns a bitmask with bits set corresponding to the fields in the font description that have been set. The following bits can be set:

#PANGO_FONT_MASK_FAMILY
The font family is specified.
#PANGO_FONT_MASK_STYLE
The font style is specified.
#PANGO_FONT_MASK_VARIANT
The font variant is specified.
#PANGO_FONT_MASK_WEIGHT
The font weight is specified.
#PANGO_FONT_MASK_STRETCH
The font stretch is specified.
#PANGO_FONT_MASK_SIZE
The font size is specified.
#PANGO_FONT_MASK_GRAVITY
The font gravity is specified.
#PANGO_FONT_MASK_VARIATIONS
OpenType font variations are specified.

Inputs
none

Results
mask
a bitmask with bits set corresponding to the set fields (see above)

Show TOC