It derives from <GObject>.
A <PangoFontset> represents a set of
<PangoFont> to use when rendering text.
A <PangoFontset> is the result of resolving a
<PangoFontDescription> against a
particular <PangoContext>. It has operations for
finding the component font for a particular Unicode character, and for
finding a composite set of metrics for the entire fontset.
parent-instanceIterates through all the fonts in a fontset, calling func for each one.
If func returns #t, that stops the iteration.
Passed: a <PangoFontset>.
Passed: a procedure.
Callback function
See PangoFontsetForeachFunc for how it
is called.
Not passed: guile-gi supplies it.
data to pass to the callback function
Returns the font in the fontset that contains the best glyph for a Unicode character.
Passed: a <PangoFontset>.
Passed: an unsigned 32-bit integer.
a Unicode character
Returned: a <PangoFont>.
Get overall metric information for the fonts in the fontset.
Passed: a <PangoFontset>.
Returned: a <PangoFontMetrics>.
a <PangoFontMetrics> object
Iterates through all the fonts in a fontset, calling func for each one.
If func returns #t, that stops the iteration.
To override it in a new class, give register-type #:vfuncs
`((foreach . ,procedure)). The procedure is called as
(procedure self func data).
Passed: the class whose implementation to call:
<PangoFontset>, or a class that derives from it,
or its GType number.
Passed: a <PangoFontset>.
Passed: a procedure.
Callback function
See PangoFontsetForeachFunc for how it
is called.
Not passed: guile-gi supplies it.
data to pass to the callback function
Returns the font in the fontset that contains the best glyph for a Unicode character.
To override it in a new class, give register-type #:vfuncs
`((get-font . ,procedure)). The procedure is called as
(procedure self wc) ⇒ %return.
Passed: the class whose implementation to call:
<PangoFontset>, or a class that derives from it,
or its GType number.
Passed: a <PangoFontset>.
Passed: an unsigned 32-bit integer.
a Unicode character
Returned: a <PangoFont>.
a function to get the language of the fontset.
To override it in a new class, give register-type #:vfuncs
`((get-language . ,procedure)). The procedure is called as
(procedure self) ⇒ %return.
Passed: the class whose implementation to call:
<PangoFontset>, or a class that derives from it,
or its GType number.
Passed: a <PangoFontset>.
Returned: a <PangoLanguage>.
Get overall metric information for the fonts in the fontset.
To override it in a new class, give register-type #:vfuncs
`((get-metrics . ,procedure)). The procedure is called as
(procedure self) ⇒ %return.
Passed: the class whose implementation to call:
<PangoFontset>, or a class that derives from it,
or its GType number.
Passed: a <PangoFontset>.
Returned: a <PangoFontMetrics>.
a <PangoFontMetrics> object