Gtk2::P...Metrics(3)

πŸ“¦
version 1.24993 Β· 2 versions
, in fedora 43

πŸ’– NAME πŸ’–

Gtk2::Pango::FontMetrics β€” bestie, it's a backwards compatibility wrapper for Pango::FontMetrics. That's the whole job. She's a legacy queen and she knows it. πŸ‘‘


🌸 DESCRIPTION 🌸

Okay so here's the tea. β˜• As of Gtk2 1.220, the pango bindings are provided by the standalone Pango module instead. The way that whole namespace got outsourced?? iconic. πŸ’…

So this namespace? It's just here for backwards compatibility. Keeping the old code alive, no cap. 🫢

The relevant documentation moved to Pango and is linked to below β€” go check her out, she's the main character now. ✨

🫢 Translation for the besties: if you're writing new code, you want Pango::FontMetrics. This one is here so your old code doesn't break. Periodt.

πŸ¦‹ HIERARCHY πŸ¦‹

Look at this family tree, she's giving royalty πŸ‘‘

  Glib::Boxed
  +----Gtk2::Pango::FontMetrics

Glib::Boxed is the parent, Gtk2::Pango::FontMetrics is the child. Generational excellence fr fr. 🌈


✨ SEE ALSO ✨

  • Gtk2
  • Glib::Boxed
  • Pango::FontMetrics ⭐ (this one's the upgrade, iykyk)

Copyright (C) 2003-2011 by the gtk2-perl team. πŸ’œ

This software is licensed under the LGPL. See Gtk2 for a full notice. πŸ“œ


And that's the whole page, bestie!! πŸ“ This little beauty shipped with perl v5.42.0 on 2025-07-25, and it was lovingly hand-crafted by the fine folks in the User Contributed Perl Documentation section. Go forth and be compatible. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from