### Namespace

# PangoFT2 – 1.0

FreeType support for Pango

Version | 1.52.2
Authors | Owen Taylor, Behdad Esfahbod
License | LGPL-2.1-or-later
Website | https://www.pango.org
Source | https://gitlab.gnome.org/GNOME/pango/

#### Build

C headers | `pango/pangoft2.h`
pkg-config files | `pangoft2`

#### Dependencies

freetype2—2.0 | A font loading and rendering library
| Browse documentation
Pango—1.0 | A library for layout out and rendering of text
| Browse documentation

#### Additional documentation

- Classes Hierarchy

#### Classes

FontMap | The `PangoFT2FontMap` is the `PangoFontMap` implementation for FreeType fonts. since: 1.0

#### Callbacks

SubstituteFunc | Function type for doing final config tweaking on prepared FcPatterns. since: 1.0

#### Functions

font_get_coverage | Gets the `PangoCoverage` for a `PangoFT2Font`. since: 1.0
font_get_face | Returns the native FreeType2 `FT_Face` structure used for this `PangoFont`. since: 1.0
font_get_kerning | Retrieves kerning information for a combination of two glyphs. since: 1.0
get_context | Retrieves a `PangoContext` for the default PangoFT2 fontmap (see pango_ft2_font_map_for_display()) and sets the resolution for the default fontmap to `dpi_x` by `dpi_y`. deprecated: 1.22 since: 1.0
get_unknown_glyph | Return the index of a glyph suitable for drawing unknown characters with `font`, or `PANGO_GLYPH_EMPTY` if no suitable glyph found. since: 1.0
render | Renders a `PangoGlyphString` onto a FreeType2 bitmap. since: 1.0
render_layout | Render a `PangoLayout` onto a FreeType2 bitmap. since: 1.0
render_layout_line | Render a `PangoLayoutLine` onto a FreeType2 bitmap. since: 1.0
render_layout_line_subpixel | Render a `PangoLayoutLine` onto a FreeType2 bitmap, with he location specified in fixed-point Pango units rather than pixels. since: 1.6
render_layout_subpixel | Render a `PangoLayout` onto a FreeType2 bitmap, with he location specified in fixed-point Pango units rather than pixels. since: 1.6
render_transformed | Renders a `PangoGlyphString` onto a FreeType2 bitmap, possibly transforming the layed-out coordinates through a transformation matrix. since: 1.6
shutdown_display | Free the global fontmap. (See pango_ft2_font_map_for_display()) Use of the global PangoFT2 fontmap is deprecated. since: 1.0