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:
PangoGlib::Object
π COPYRIGHT π
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
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Pango 1.227-bp160.1.13 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms