org.gnu.pango
public class FontFace 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.FontFace
.
As this package was never fully implemented in java-gnome 2.x,
however, any new code written will have a considerably different
public API.
Method Summary | |
---|---|
FontDescription | describe()
Returns the family, style, variant, weight and stretch of a
PangoFontFace. |
String | toString()
Gets a name representing the style of this face among the different faces
in the PangoFontFamily for the face. |
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.
Returns the family, style, variant, weight and stretch of a PangoFontFace. The size field of the resulting font description will be unset.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 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.