### Class

# PangoFc FontMap

#### Description [src]

    abstract class PangoFc.FontMap : Pango.FontMap {
      /* No available fields */
    }

`PangoFcFontMap` is a base class for font map implementations using the Fontconfig and FreeType libraries.

It is used in the Xft and FreeType backends shipped with Pango, but can also be used when creating new backends. Any backend deriving from this base class will take advantage of the wide range of shapers implemented using FreeType that come with Pango.

#### Ancestors

- PangoFontMap
- GObject

#### Instance methods

###### pango_fc_font_map_add_decoder_find_func

This function saves a callback method in the `PangoFcFontMap` that will be called whenever new fonts are created.

Available since: 1.6

###### pango_fc_font_map_cache_clear

Clear all cached information and fontsets for this font map.

Available since: 1.4

###### pango_fc_font_map_config_changed

Informs font map that the fontconfig configuration (i.e., FcConfig object) used by this font map has changed.

Available since: 1.38

###### pango_fc_font_map_create_context

Creates a new context for this fontmap.

Available since: 1.4

Deprecated since: 1.22

###### pango_fc_font_map_find_decoder

Finds the decoder to use for `pattern`.

Available since: 1.26

###### pango_fc_font_map_get_config

Fetches the `FcConfig` attached to a font map.

Available since: 1.38

###### pango_fc_font_map_get_hb_face

Retrieves the `hb_face_t` for the given `PangoFcFont`.

Available since: 1.44

###### pango_fc_font_map_set_config

Set the `FcConfig` for this font map to use.

Available since: 1.38

###### pango_fc_font_map_set_default_substitute

Sets a function that will be called to do final configuration substitution on a `FcPattern` before it is used to load the font.

Available since: 1.48

###### pango_fc_font_map_shutdown

Clears all cached information for the fontmap and marks all fonts open for the fontmap as dead.

Available since: 1.4

###### pango_fc_font_map_substitute_changed

Call this function any time the results of the default substitution function set with `pango_fc_font_map_set_default_substitute()` change.

Available since: 1.48

#### Class structure

    struct PangoFcFontMapClass {
      /* no available fields */
    }