Name
pfontmap:SetResolution -- set resolution
Synopsis
pfontmap:SetResolution(dpi)
Function
Sets the resolution for the fontmap.

This is a scale factor between points specified in a Pango font description and Cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72. = 13.3).

Inputs
dpi
the resolution in "dots per inch"; physical inches aren't actually involved; the terminology is conventional

Show TOC