PangoXft.Font
Description: Reference for PangoXft.Font

### Class

# PangoXftFont

#### Description [src]

    final class PangoXft.Font : PangoFc.Font {
      /* No available fields */
    }

`PangoXftFont` is an implementation of `PangoFcFont` using the Xft library for rendering. It is used in conjunction with `PangoXftFontMap`.

#### Ancestors

- PangoFcFont
- PangoFont
- GObject

#### Functions

###### pango_xft_font_get_font

Returns the `XftFont` of a font.

#### Instance methods

###### pango_xft_font_get_display

Returns the X display of the `XftFont` of a font.

###### pango_xft_font_get_glyph

Gets the glyph index for a given Unicode character for `font`.

since: 1.2

###### pango_xft_font_get_unknown_glyph

Returns the index of a glyph suitable for drawing `wc` as an unknown character.

###### pango_xft_font_has_char

Determines whether `font` has a glyph for the codepoint `wc`.

since: 1.2

###### pango_xft_font_lock_face

Gets the FreeType `FT_Face` associated with a font.

since: 1.2

###### pango_xft_font_unlock_face

Releases a font previously obtained with pango_xft_font_lock_face().

since: 1.2

##### Methods inherited from PangoFcFont (8)

###### pango_fc_font_get_glyph

Gets the glyph index for a given Unicode character for `font`.

since: 1.4

###### pango_fc_font_get_languages

Returns the languages that are supported by `font`.

deprecated: 1.50 since: 1.48

###### pango_fc_font_get_pattern

Returns the FcPattern that `font` is based on.

since: 1.48

###### pango_fc_font_get_unknown_glyph

Returns the index of a glyph suitable for drawing `wc` as an unknown character.

since: 1.4

###### pango_fc_font_has_char

Determines whether `font` has a glyph for the codepoint `wc`.

deprecated: 1.44 since: 1.4

###### pango_fc_font_kern_glyphs

This function used to adjust each adjacent pair of glyphs in `glyphs` according to kerning information in `font`.

deprecated: 1.32 since: 1.4

###### pango_fc_font_lock_face

Gets the FreeType `FT_Face` associated with a font.

deprecated: 1.44 since: 1.4

###### pango_fc_font_unlock_face

Releases a font previously obtained with `pango_fc_font_lock_face()`.

deprecated: 1.44 since: 1.4

##### Methods inherited from PangoFont (12)

###### pango_font_describe

Returns a description of the font, with font size set in points.

###### pango_font_describe_with_absolute_size

Returns a description of the font, with absolute font size set in device units.

since: 1.14

###### pango_font_get_coverage

Computes the coverage map for a given font and language tag.

###### pango_font_get_face

Gets the `PangoFontFace` to which `font` belongs.

since: 1.46

###### pango_font_get_features

Obtain the OpenType features that are provided by the font.

since: 1.44

###### pango_font_get_font_map

Gets the font map for which the font was created.

since: 1.10

###### pango_font_get_glyph_extents

Gets the logical and ink extents of a glyph within a font.

###### pango_font_get_hb_font

Get a `hb_font_t` object backing this font.

since: 1.44

###### pango_font_get_languages

Returns the languages that are supported by `font`.

since: 1.50

###### pango_font_get_metrics

Gets overall metric information for a font.

###### pango_font_has_char

Returns whether the font provides a glyph for this character.

since: 1.44

###### pango_font_serialize

Serializes the `font` in a way that can be uniquely identified.

since: 1.50

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

##### Properties inherited from PangoFcFont (2)

###### PangoFc.Font:fontmap

The PangoFc font map this font is associated with.

###### PangoFc.Font:pattern

The fontconfig pattern for this font.

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.