org.gnu.pango

Class Font

public class Font 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.Font. As this package was never fully implemented in java-gnome 2.x, however, any new code written will have a considerably different public API.

Pango supports a flexible architecture where a particular rendering architecture can supply an implementation of fonts. The PangoFont structure represents an abstract rendering-system-indepent font. Pango provides routines to list available fonts, and to load a font of a given description.
Constructor Summary
Font()
Method Summary
FontDescriptiondescribe()
Returns a description of the font.
CoveragegetCoverage(Language lang)
Computes the coverage map for a given font and language tag.
FontMetricsgetMetrics(Language lang)
Gets overall metric information for a font.
static TypegetType()
Retrieve the runtime type used by the GLib library.

Constructor Detail

Font

public Font()

Method Detail

describe

public FontDescription describe()

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 a description of the font.

getCoverage

public Coverage getCoverage(Language lang)

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.

Computes the coverage map for a given font and language tag.

getMetrics

public FontMetrics getMetrics(Language lang)

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 overall metric information for a font. Since the metrics may be substantially different for different scripts, a language tag can be provided to indicate that the metrics should be retrieved that correspond to the script(s) used by that language.

getType

public static Type getType()

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.

Retrieve the runtime type used by the GLib library.