org.gnu.pango

Class FontFace

public class FontFace extends GObject

The PangoFontFace structure is used to represent a group of fonts with the same family, slant, weight, width, but varying sizes.
Method Summary
FontDescriptiondescribe()
Returns the family, style, variant, weight and stretch of a PangoFontFace.
StringtoString()
Gets a name representing the style of this face among the different faces in the PangoFontFamily for the face.

Method Detail

describe

public FontDescription describe()
Returns the family, style, variant, weight and stretch of a PangoFontFace. The size field of the resulting font description will be unset.

toString

public String toString()
Gets a name representing the style of this face among the different faces in the PangoFontFamily for the face. This name is unique among all faces in the family and is suitable for displaying to users.