Pango::FontMap(3)
π Pango::FontMap
Okay bestie, so this is the Pango::FontMap page from the User Contributed Perl Documentation β it's basically a little wrapper situation around PangoFontMap, and honestly it's giving "small but mighty" energy. Let's get into it π«Ά
β¨ NAME β¨
Pango::FontMap β the wrapper for PangoFontMap. That's it, that's the name, no notes π
πΈ HIERARCHY πΈ
So here's the family tree, and yes, it's a whole lineage moment:
Glib::Object
+----Pango::FontMap
Like, Glib::Object is the parent and Pango::FontMap is the main character child β¨
π¦ INTERFACES π¦
It's also repping this interface, no cap:
Glib::Object::_Unregistered::GListModel
π METHODS π
π list = $fontmap->list_families
You call this and you get back a list of families. Simple, iconic, does what it says on the tin π
π§ font or undef = $fontmap->load_font ($context, $desc)
Loads up a font. Heads up though β it can hand you a font or it can give you undef, so likeβ¦ vibe check your return value, bestie π
The args it takes:
$contextβ aPango::Contextπ$descβ aPango::FontDescriptionπΈ
β fontset or undef = $fontmap->load_fontset ($context, $desc, $language)
Same deal, but for a whole fontset, and it can also come back as undef so don't @ me if it does π
The args:
$contextβ aPango::Contextπ$descβ aPango::FontDescriptionπΈ$languageβ aPango::Languageπ¦
π PROPERTIES π
Two properties, both fully spelled out with all their flags, because we do not skip details in this house π
'item-type'β type isGlib::GType, default is"Glib::Object", and it'sreadable / private / static-nick / static-blurbβ¨'n-items'β type isGlib::UInt, default is0, and it's alsoreadable / private / static-nick / static-blurbπ«
π₯ SEE ALSO π₯
Go peek at these too, fr fr:
PangoGlib::Object
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team. Respect to the OGs π«Ά
This software is licensed under the LGPL. See Pango for a full notice β the legal receipts live over there, iykyk π
okay that's the whole page, you're officially educated, go forth and load some fonts bestie π¦π
Big kiss, this was the Pango::FontMap(3) page, served up by perl v5.42.0 and dated 2019-09-16 β slay, bye β¨π
π¦ 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