attrLineHeightNew

fnpango.attribute.Attribute attrLineHeightNew(double factor)

Modify the height of logical line extents by a factor.

This affects the values returned by [pango.layout_line.LayoutLine.getExtents], [pango.layout_line.LayoutLine.getPixelExtents] and [pango.layout_iter.LayoutIter.getLineExtents].

Parameters

factorthe scaling factor to apply to the logical height

Returns