PgFontsetSimple

Description Pango supports a flexible architecture where a particular rendering architecture can supply an implementation of fonts. The PangoFont structure represents an abstract rendering-system-independent font. Pango provides routines to list available fonts, and to load a font of a given description.

Constructors

this
this(PangoFontsetSimple* pangoFontsetSimple)

Sets our main struct and passes it to the parent class

this
this(PgLanguage language)

Creates a new PangoFontsetSimple for the given language.

Members

Functions

append
void append(PgFont font)

Adds a font to the fontset.

getPgFontsetSimpleStruct
PangoFontsetSimple* getPgFontsetSimpleStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
size
int size()

Returns the number of fonts in the fontset.

Variables

pangoFontsetSimple
PangoFontsetSimple* pangoFontsetSimple;

the main Gtk struct

Inherited Members

From PgFontset

pangoFontset
PangoFontset* pangoFontset;

the main Gtk struct

getPgFontsetStruct
PangoFontset* getPgFontsetStruct()
Undocumented in source. Be warned that the author may not have intended to support it.
getStruct
void* getStruct()

the main Gtk struct as a void*

setStruct
void setStruct(GObject* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
getFont
PgFont getFont(uint wc)

Returns the font in the fontset that contains the best glyph for the Unicode character wc.

getMetrics
PgFontMetrics getMetrics()

Get overall metric information for the fonts in the fontset.

foreac
void foreac(PangoFontsetForeachFunc func, void* data)

Iterates through all the fonts in a fontset, calling func for each one. If func returns TRUE, that stops the iteration. Since 1.4

Meta