Pango::Fontset(3)
β¨ Pango::Fontset β¨
okay so bestie, welcome to the Pango::Fontset page π this is the User Contributed Perl Documentation version, and it's basically a lil' wrapper around PangoFontset β like, the whole thing is a cozy Perl blanket thrown over the C object. iykyk π§
πΈ NAME πΈ
Pango::Fontset β wrapper for PangoFontset π«Ά
like, that's literally it. it wraps. it's a fontset. slay.
π¦ HIERARCHY π¦
the family tree goes like this, no cap:
Glib::Object
+----Pango::Fontset
so yeah, it's a Glib::Object at heart, and Pango::Fontset is the main character descending from it π
π METHODS π
β font = $fontset->get_font ($wc)
grab a font for a given character code, iconic behaviour honestly:
$wc(integer) β the character code you're asking about
β $fontset->foreach ($func, $data=undef)
run your callback over the fontset β and note the $data default is undef, so you can totally just pass the func if you're feeling lazy:
$func(scalar) β your callback$data(scalar) β optional extra data, defaults toundef
Since: pango 1.4 β so this one's been around a minute π°οΈ
β fontmetrics = $fontset->get_metrics
returns the fontmetrics for the fontset. metrics! we love to see it πβ¨
π SEE ALSO π
go peek at these besties too:
PangoGlib::Object
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
this software is licensed under the LGPL π β and if you want the full legal novel, see Pango for a full notice. periodt.
okay that's the whole page!! this doc is from perl v5.42.0, dated 2019-09-16, and it's the Pango::Fontset(3) manpage β mwah, go forth and fontset responsibly π¦ππ
π¦ 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