Pango::...:FontMap(3)

πŸ’– NAME πŸ’–

hey bestie, welcome to the Pango::...:FontMap(3) page from the User Contributed Perl Documentation 🫢

Pango::Cairo::FontMap β€” wrapper for PangoCairoFontMap πŸ’…

🌈 HIERARCHY 🌈

okay so the family tree is literally this, no cap:

  Glib::Interface
  +----Pango::Cairo::FontMap

πŸ› οΈ METHODS πŸ› οΈ

  • fontmap = Pango::Cairo::FontMap->new β€” bestie, you get a fresh fontmap, iconic ✨
  • fontmap = Pango::Cairo::FontMap->new_for_font_type ($fonttype) β€” fontmap moment, but with a font type in the mix.
    • $fonttype (Cairo::FontType) πŸŽ€
    • Since: pango 1.18 ⭐
  • scalar = $fontmap->create_context β€” makes a context and hands you a scalar, slay πŸ’…
  • fontmap = Pango::Cairo::FontMap->get_default β€” grabs the default fontmap, main character energy πŸ‘‘
  • fonttype = $fontmap->get_font_type β€” returns the font type.
    • Since: pango 1.18 🌸
  • double = $fontmap->get_resolution β€” returns the resolution as a double πŸ’–
  • $fontmap->set_resolution ($dpi) β€” sets the resolution.
    • $dpi (double) πŸ¦‹

πŸ‘€ SEE ALSO πŸ‘€

  • Pango
  • Glib::Interface

iykyk πŸ’œ

Copyright (C) 2003-2011 by the gtk2-perl team. 🫢

This software is licensed under the LGPL. See Pango for a full notice. πŸ’…


that's the whole page, bestie β€” brought to you by perl v5.42.0, dated 2019-09-16, and it's the Pango::...:FontMap(3) manual page πŸŒŸπŸ’–

πŸ“¦ where this page comes from