The <PangoAttrSize> structure is used to
represent attributes which set font size.
attrthe common portion of the attribute
sizesize of font, in units of 1/PANGO_SCALE of a point (for
size) or of a device unit (for
absolute-size)
absolutewhether the font size is in device units or points. This field is only
present for compatibility with Pango-1.8.0
(absolute-size was added in 1.8.1); and always
will be #f for size and #t for
absolute-size.
Create a new font-size attribute in fractional points.
Passed: a 32-bit integer.
the font size, in PANGO_SCALE-ths of a point
Returned: a <PangoAttribute>.
the newly allocated <PangoAttribute>, which
should be freed with attribute:destroy
Create a new font-size attribute in device units.
Passed: a 32-bit integer.
the font size, in PANGO_SCALE-ths of a device unit
Returned: a <PangoAttribute>.
the newly allocated <PangoAttribute>, which
should be freed with attribute:destroy