Name
pfontdesc:SetAbsoluteSize -- set absolute size
Synopsis
pfontdesc:SetAbsoluteSize(size)
Function
Sets the size field of a font description, in device units.

This is mutually exclusive with pfontdesc:SetSize() which sets the font size in points.

Inputs
size
the new size, in Pango 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

Show TOC