CoglPango – 13
Description: Reference for CoglPango-13

### Namespace

# CoglPango – 13

A Low Level GPU Graphics and Utilities API

Version | 13
Authors | Mutter Development Team
License | GPL-2.0-or-later
Website | https://blogs.gnome.org/shell-dev/
Source | https://gitlab.gnome.org/GNOME/mutter/

#### Build

C headers | `cogl-pango.h`
pkg-config files | `mutter-cogl-pango-13`

#### Dependencies

GObject—2.0 | The base type system library
| Browse documentation
Pango—1.0 | Text shaping and rendering
| Browse documentation
PangoCairo—1.0 | Cairo support for Pango
| Browse documentation

#### Additional documentation

- Classes Hierarchy

#### Classes

Renderer | since: 13

#### Aliases

FontMap | since: 13

#### Functions

ensure_glyph_cache_for_layout | This updates any internal glyph cache textures as necessary to be able to render the given `layout`. since: 13
font_map_clear_glyph_cache | Clears the glyph cache for `font_map`. since: 13
font_map_create_context | Create a `PangoContext` for the given `font_map`. since: 13
font_map_get_renderer | Retrieves the `CoglPangoRenderer` for the passed `font_map`. since: 13
font_map_get_use_mipmapping | Retrieves whether the `CoglPangoRenderer` used by `font_map` will use mipmapping when rendering the glyphs. since: 13
font_map_new | Creates a new font map. since: 13
font_map_set_resolution | Sets the resolution for the `font_map`. since: 13
font_map_set_use_mipmapping | Sets whether the renderer for the passed font map should use mipmapping when rendering a `PangoLayout`. since: 13
show_layout | Draws a solidly coloured `layout` on the given `framebuffer` at (`x`, `y`) within the `framebuffer`‘s current model-view coordinate space. since: 13
show_layout_line | Draws a solidly coloured `line` on the given `framebuffer` at (`x`, `y`) within the `framebuffer`‘s current model-view coordinate space. since: 13

#### Function Macros

FONT_MAP | since: 13