attrFontScaleNew

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

scalea [pango.types.FontScale] value, which indicates font size change relative to the size of the previous run.

Returns

the newly allocated

[pango.attribute.Attribute], which should be freed with [pango.attribute.Attribute.destroy]