Pike v8.1 release 6

Method GTK2.Pango.FontDescription()->set_style()


Method set_style

Pango.FontDescription set_style(int style)

Description

Sets the style. This describes whether the font is slanted and the manner in which is is slanted. One of PANGO_STYLE_ITALIC, PANGO_STYLE_NORMAL and PANGO_STYLE_OBLIQUE. Most fonts will either have an italic style or an oblique style, but not both, and font matching in Pango will match italic specifications with oblique fonts and vice-versa if an exact match is not found.