Pango::FontFamily(3)

πŸ’– NAME πŸ’–

Pango::FontFamily β€” the wrapper for PangoFontFamily, bestie. That's the whole job. She wraps. She slays. Periodt.

🌈 HIERARCHY 🌈

The family tree, literally:

Glib::Object
+----Pango::FontFamily

So she's a Glib::Object girlie at heart β€” she inherits all that energy, no cap.

πŸ¦‹ INTERFACES πŸ¦‹

Glib::Object::_Unregistered::GListModel

Yeah. That's the interface she's rockin'. GListModel vibes. It's giving list, it's giving model, it's giving unregistered. Iykyk.

✨ METHODS ✨

Ok so here's where she really eats. Three methods, all iconic:

  • boolean = $family->is_monospace β€” ask her "are you monospace, queen?" and she'll hand you back a boolean. Yes or no, fixed-width or not. πŸŽ€
Since: pango 1.4 β€” she's been doing this since 1.4, an OG fr fr.
  • list = $family->list_faces β€” gives you back a list of the faces in this family. All of them. The whole squad. πŸ’…
  • string = $family->get_name β€” returns her name as a string. Who is she? Now you know. πŸ’–

πŸ‘‘ PROPERTIES πŸ‘‘

Every single one, and yes I'm listing all of them because we don't skip:

  • 'is-monospace' β€” boolean : default false : readable / private / static-nick / static-blurb
  • 'is-variable' β€” boolean : default false : readable / private / static-nick / static-blurb
  • 'item-type' β€” Glib::GType : default "Glib::Object" : readable / private / static-nick / static-blurb
  • 'n-items' β€” Glib::UInt : default 0 : readable / private / static-nick / static-blurb
  • 'name' β€” string : default undef : readable / private / static-nick / static-blurb

Like, look at that flag list: readable / private / static-nick / static-blurb on every single one. Consistent queen. πŸ’œ


🌸 SEE ALSO 🌸

Go check out her friends, they're all linked up:

  • Pango
  • Glib::Object

Copyright (C) 2003-2011 by the gtk2-perl team. Respect the elders, they built this. 🫢

This software is licensed under the LGPL. See Pango for a full notice β€” like, the actual full legal tea is over there, go sip it.


✨ Okay that's the whole page, no crumbs left. Sending you off with the deets: this was perl v5.42.0, dated 2019-09-16, and it's part of the User Contributed Perl Documentation β€” read it, love it, live it. Mwah! πŸ’…πŸ’–πŸ¦‹
πŸ“¦ where this page comes from