Package: pango

Class pango:fontset

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

None

Details

The pango:fontset object represents a set of pango:font objects to use when rendering text. It is the result of resolving a pango:font-description instance against a particular pango:context object. 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.

Example

Code fragement for getting the fontset:
(let* ((fontmap (pango:cairo-font-map-default))
       (context (pango:font-map-create-context fontmap))
       (desc (pango:font-description-from-string "Sans Italic 12"))
       (lang (pango:language-default))
       (fontset (pango:font-map-load-fontset fontmap context desc lang)))
  fontset)
=> #<PANGO:FONTSET {10026D1863}>    
 

Inherited Slot Access Functions

See also

2024-3-4