pango.attribute.Attribute, which should be freed with pango.attribute.Attribute.destroy
attrFontScaleNew
fn
pango.attribute.Attribute attrFontScaleNew(pango.types.FontScale scale)Create a new font scale attribute.
The effect of this attribute is to change the font size of a run, relative to the size of preceding run.
Parameters
scale | a pango.types.FontScale value, which indicates font size change relative to the size of the previous run. |
Returns
the newly allocated