gimp-text-get-extents


Description

Deprecated: Use 'gimp-text-get-extents-fontname' instead.

Help

Deprecated: Use 'gimp-text-get-extents-fontname' instead.


Type

unknown

Parameters

Type Name Description
PF_VALUE text The text to generate (in UTF-8 encoding)
PF_FLOAT size The size of text in either pixels or points (size >= 0)
PF_INT size-type The units of specified size { PIXELS (0), POINTS (1) }
PF_VALUE foundry The font foundry
PF_VALUE family The font family
PF_VALUE weight The font weight
PF_VALUE slant The font slant
PF_VALUE set-width The font set-width
PF_VALUE spacing The font spacing
PF_VALUE registry The font registry
PF_VALUE encoding The font encoding

Return

Type Name Description
PF_INT width The width of the specified font
PF_INT height The height of the specified font
PF_INT ascent The ascent of the specified font
PF_INT descent The descent of the specified font