pango.FontMap — an object that represents the set of fonts available for a particular rendering system.
| class pango.FontMap( | 
A pango.FontMap
object represents the set of fonts available for a particular rendering
system. There appears to be no way to retrieve a pango.FontMap
object in PyGTK.
    def create_context()| Returns : | the newly allocated pango.Context. | 
This method is available in PyGTK 2.16 and above.
Creates
        a pango.Context
        connected to fontmap. This is equivalent to calling the class
        constructor followed
        by pango.Context.set_font_map.
If you are using Pango as part of a higher-level system, that system may have it's own way of create a pango.Context. For instance, the GTK+ toolkit has, among others, gtk.gdk.pango_context_get_for_screen and gtk.Widget.get_pango_context. Use those instead.
    def load_font(context, desc)| 
 | the pango.Contextthe
font will be used with | 
| 
 | a pango.FontDescriptiondescribing the font to load | 
| Returns : | the loaded font , or Noneif
no font matched. | 
The load_font() method loads the pango.Font in the
fontmap that is the closest match for the pango.FontDescription 
specified by desc in the pango.Context
specified by context.
    def load_fontset(context, desc, language)| 
 | the pango.Contextthe
font will be used with | 
| 
 | a pango.FontDescriptiondescribing the font to load | 
| 
 | a pango.Languagethe fonts will be used for | 
| Returns : | a pango.FontSet, orNoneif no font matched. | 
The load_fontset() method loads a set
of pango.Font
objects in the fontmap that can be used to render a font matching the pango.FontDescription 
specified by desc for the pango.Language
specified by language in the pango.Context
specified by context.
    def list_families()| Returns : | a list of pango.FontFamilyobjects. | 
The list_families() method returns a
list of all pango.FontFamily 
objects for the fontmap.