Pango::Font(3)

πŸ’– NAME πŸ’–

Okay bestie, welcome to Pango::Font(3) β€” the Pango::Font manual page, fresh from the User Contributed Perl Documentation. It's literally the wrapper for PangoFont, and yes, it's giving main-character energy. ✨

🌈 HIERARCHY 🌈

Here's the family tree, no cap:

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

πŸ› οΈ METHODS πŸ› οΈ

Okay, method time. Every signature is copied exactly, so you can trust the vibes. 🫢

✨ fontdescription = $font->describe

Hands you a fontdescription. That's it, that's the method. πŸ’…

✨ fontdescription = $font->describe_with_absolute_size

Also hands you a fontdescription β€” with absolute size in the name, iykyk. πŸ¦‹

Since: pango 1.14

✨ list = Pango::extents_to_pixels ($inclusive, $nearest)

Gives you a list, and it takes these two besties:

  • $inclusive β€” array reference
  • $nearest β€” array reference
Since: pango 1.16

✨ fontmap = $font->get_font_map

Gives you a fontmap. Slay. πŸ‘‘

Since: pango 1.10

✨ list = $font->get_glyph_extents ($glyph)

Gives you a list, and the arg is:

  • $glyph β€” integer

✨ fontmetrics = $font->get_metrics ($language)

Gives you fontmetrics, and the arg is:

  • $language β€” Pango::Language

✨ integer = Pango::units_from_double ($d)

Gives you an integer, and the arg is:

  • $d β€” double
Since: pango 1.16

✨ double = Pango::units_to_double ($i)

Gives you a double, and the arg is:

  • $i β€” integer
Since: pango 1.16

πŸ‘€ SEE ALSO πŸ‘€

Go peek at these too, bestie:

  • Pango
  • Glib::Object

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

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


Okay that's the whole page, bestie. This iconic little manual was brought to you by perl v5.42.0, dated 2019-09-16, and it's the Pango::Font(3) page. Periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from