Name
pfontdesc:SetStretch -- set stretch field
Synopsis
pfontdesc:SetStretch(stretch)
Function
Sets the stretch field of a font description. The stretch field specifies how narrow or wide the font should be.

The following constants can be passed in the stretch parameter:

#PANGO_STRETCH_ULTRA_CONDENSED
Ultra condensed width.
#PANGO_STRETCH_EXTRA_CONDENSED
Extra condensed width.
#PANGO_STRETCH_CONDENSED
Condensed width.
#PANGO_STRETCH_SEMI_CONDENSED
Semi condensed width.
#PANGO_STRETCH_NORMAL
The normal width.
#PANGO_STRETCH_SEMI_EXPANDED
Semi expanded width.
#PANGO_STRETCH_EXPANDED
Expanded width.
#PANGO_STRETCH_EXTRA_EXPANDED
Extra expanded width.
#PANGO_STRETCH_ULTRA_EXPANDED
Ultra expanded width.

Inputs
stretch
the stretch for the font description (see above)

Show TOC