org.gnu.pango

Class FontFamily

public class FontFamily extends GObject

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may exist in java-gnome 4.0; look out for org.gnome.pango.FontFamily. As this package was never fully implemented in java-gnome 2.x, however, any new code written will have a considerably different public API.

The FontFamily object is used to represent a family of related font faces. The faces in a family share a common design, but differ in slant, weight, width and other aspects.
Method Summary
FontFace[]listFaces()
Lists the different font faces that make up family.
StringtoString()
Gets the name of the family.

Method Detail

listFaces

public FontFace[] listFaces()

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Lists the different font faces that make up family. The faces in a family share a common design, but differ in slant, weight, width and other aspects.

toString

public String toString()

Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.

Gets the name of the family. The name is unique among all fonts for the font backend and can be used in a PangoFontDescription to specify that a face from this family is desired.