Package: pango

Function pango-font-description-set-absolute-size

Lambda List

pango-font-description-set-absolute-size (desc size)

Arguments

desc -- a pango-font-description instance
size -- a double float with the new size, in Pango units

Details

Sets the size field of a font description, in device units.

There are +pango-scale+ Pango units in one device unit. For an output backend where a device unit is a pixel, a size value of 10 * +pango-scale+ gives a 10 pixel font.

This is mutually exclusive with the function pango-font-description-size which sets the font size in points.
 

See also

2021-1-14