Method Pango.FontDescription()->set_weight()
- Method
set_weight
Pango.FontDescriptionset_weight(intweight)- Description
Sets the weight. The weight specifies how bold or light the font should be. In addition to the values of
PANGO_WEIGHT_BOLD,PANGO_WEIGHT_HEAVY,PANGO_WEIGHT_LIGHT,PANGO_WEIGHT_NORMAL,PANGO_WEIGHT_ULTRABOLDandPANGO_WEIGHT_ULTRALIGHT, other intermediate numeric values are possible.