1.8 <PangoFontsetSimple>

Class: <PangoFontsetSimple>

It derives from <PangoFontset>.

<PangoFontsetSimple> is a implementation of the abstract <PangoFontset> base class as an array of fonts.

When creating a <PangoFontsetSimple>, you have to provide the array of fonts that make up the fontset.

Procedures

Method: fontset-simple:append self font
Method: append self font

Adds a font to the fontset.

The fontset takes ownership of font.

self

Passed: a <PangoFontsetSimple>.

a <PangoFontsetSimple>.

font

Passed: a <PangoFont>.

a <PangoFont>.

Procedure: fontset-simple:new language ⇒ %return

Creates a new <PangoFontsetSimple> for the given language.

language

Passed: a <PangoLanguage>.

a <PangoLanguage> tag

%return

Returned: a <PangoFontsetSimple>.

the newly allocated <PangoFontsetSimple>

Method: fontset-simple:size self ⇒ %return
Method: size self ⇒ %return

Returns the number of fonts in the fontset.

self

Passed: a <PangoFontsetSimple>.

a <PangoFontsetSimple>.

%return

Returned: a 32-bit integer.

the size of self