---
name: "Pango::Font"
section: "3pm"
platform: "linux"
package: "pango-perl"
version: "1.227-20"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Pango::Font"
---

# Pango::Font(3pm)

wrapper for PangoFont

## NAME

Pango::Font - wrapper for PangoFont

## HIERARCHY

```
  Glib::Object
  +----Pango::Font
```

## METHODS

### fontdescription = $font-\>describe

### fontdescription = $font-\>describe\_with\_absolute\_size

Since: pango 1.14

### list = Pango::extents\_to\_pixels ($inclusive, $nearest)

- •

  `$inclusive` (array reference)

- •

  `$nearest` (array reference)

Since: pango 1.16

### fontmap = $font-\>get\_font\_map

Since: pango 1.10

### list = $font-\>get\_glyph\_extents ($glyph)

- •

  `$glyph` (integer)

### fontmetrics = $font-\>get\_metrics ($language)

- •

  `$language` (Pango::Language)

### integer = Pango::units\_from\_double ($d)

- •

  `$d` (double)

Since: pango 1.16

### double = Pango::units\_to\_double ($i)

- •

  `$i` (integer)

Since: pango 1.16

## SEE ALSO

Pango, Glib::Object

## COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL.  See Pango for a full notice.
