Pango::...ription(3)

πŸ’– NAME πŸ’–

Pango::FontDescription β€” wrapper for PangoFontDescription. This page is the Pango::...ription(3) one, from the User Contributed Perl Documentation crew, and it's here to make font descriptions make sense, bestie. πŸ’…βœ¨


🌸 HIERARCHY 🌸

         Glib::Boxed
         +----Pango::FontDescription

πŸ’… METHODS πŸ’…

  • fontdescription = Pango::FontDescription->new β€” constructor energy, fr fr. It hands you a fresh fontdescription.
  • double = Pango->PANGO_PIXELS ($d) β€” the PANGO_PIXELS helper, doing its double thing.
    • $d (double)
  • $desc->set_absolute_size ($size) β€” sets the absolute size, bestie.
    • $size (double)
    • Since: pango 1.8
  • boolean = $desc->better_match ($old_match, $new_match) β€” the better-match check, boolean-flavored.
    • $old_match (Pango::FontDescription or undef)
    • $new_match (Pango::FontDescription)
  • boolean = $desc1->equal ($desc2) β€” equality check, with $desc1 and $desc2 in the mix.
    • $desc2 (Pango::FontDescription)
  • string = $desc->get_family β€” gets the family as a string.
  • $desc->set_family ($family) β€” sets the family from a string.
    • $family (string)
  • $desc->set_family_static ($family) β€” sets the family with the static variant, still taking a string.
    • $family (string)
  • fontdescription = Pango::FontDescription->from_string ($str) β€” builds a fontdescription from a string, iconic.
    • $str (string)
  • gravity = $desc->get_gravity β€” gets gravity. Since: pango 1.16.
  • $desc->set_gravity ($gravity) β€” sets gravity from a Pango::Gravity. Since: pango 1.16.
    • $gravity (Pango::Gravity)
  • integer = $desc->hash β€” returns an integer hash, periodt.
  • $desc->merge ($desc_to_merge, $replace_existing) β€” merges another description in, with a boolean saying whether to replace existing stuff.
    • $desc_to_merge (Pango::FontDescription)
    • $replace_existing (boolean)
  • $desc->merge_static ($desc_to_merge, $replace_existing) β€” the static-flavored merge, same argument duo.
    • $desc_to_merge (Pango::FontDescription)
    • $replace_existing (boolean)
  • double = Pango->pixels ($d) β€” pixels helper, double edition.
    • $d (double)
  • double = Pango->scale β€” returns a double scale.
  • double = Pango->scale_large β€” returns a double scale, large flavor.
  • double = Pango->scale_medium β€” returns a double scale, medium flavor.
  • double = Pango->scale_small β€” returns a double scale, small flavor.
  • double = Pango->scale_x_large β€” returns a double scale, x-large flavor.
  • double = Pango->scale_x_small β€” returns a double scale, x-small flavor.
  • double = Pango->scale_xx_large β€” returns a double scale, xx-large flavor.
  • double = Pango->scale_xx_small β€” returns a double scale, xx-small flavor.
  • fontmask = $desc->get_set_fields β€” returns a fontmask of the set fields.
  • integer = $desc->get_size β€” gets the size as an integer.
  • boolean = $desc->get_size_is_absolute β€” boolean check for whether the size is absolute. Since: pango 1.8.
  • $desc->set_size ($size) β€” sets the size from an integer.
    • $size (integer)
  • stretch = $desc->get_stretch β€” gets the stretch.
  • $desc->set_stretch ($stretch) β€” sets the stretch.
    • $stretch (Pango::Stretch)
  • style = $desc->get_style β€” gets the style.
  • $desc->set_style ($style) β€” sets the style.
    • $style (Pango::Style)
  • string = $desc->to_filename β€” returns a string filename.
  • string = $desc->to_string β€” returns a string.
  • $desc->unset_fields ($to_unset) β€” unsets fields using a Pango::FontMask.
    • $to_unset (Pango::FontMask)
  • variant = $desc->get_variant β€” gets the variant.
  • $desc->set_variant ($variant) β€” sets the variant.
    • $variant (Pango::Variant)
  • weight = $desc->get_weight β€” gets the weight.
  • $desc->set_weight ($weight) β€” sets the weight.
    • $weight (Pango::Weight)

🌈 ENUMS AND FLAGS 🌈

🌟 flags Pango::FontMask 🌟

  • 'family' / 'PANGO_FONT_MASK_FAMILY'
  • 'style' / 'PANGO_FONT_MASK_STYLE'
  • 'variant' / 'PANGO_FONT_MASK_VARIANT'
  • 'weight' / 'PANGO_FONT_MASK_WEIGHT'
  • 'stretch' / 'PANGO_FONT_MASK_STRETCH'
  • 'size' / 'PANGO_FONT_MASK_SIZE'
  • 'gravity' / 'PANGO_FONT_MASK_GRAVITY'
  • 'variations' / 'PANGO_FONT_MASK_VARIATIONS'
  • 'features' / 'PANGO_FONT_MASK_FEATURES'

πŸŒ€ enum Pango::Gravity πŸŒ€

  • 'south' / 'PANGO_GRAVITY_SOUTH'
  • 'east' / 'PANGO_GRAVITY_EAST'
  • 'north' / 'PANGO_GRAVITY_NORTH'
  • 'west' / 'PANGO_GRAVITY_WEST'
  • 'auto' / 'PANGO_GRAVITY_AUTO'

πŸ¦‹ enum Pango::Stretch πŸ¦‹

  • 'ultra-condensed' / 'PANGO_STRETCH_ULTRA_CONDENSED'
  • 'extra-condensed' / 'PANGO_STRETCH_EXTRA_CONDENSED'
  • 'condensed' / 'PANGO_STRETCH_CONDENSED'
  • 'semi-condensed' / 'PANGO_STRETCH_SEMI_CONDENSED'
  • 'normal' / 'PANGO_STRETCH_NORMAL'
  • 'semi-expanded' / 'PANGO_STRETCH_SEMI_EXPANDED'
  • 'expanded' / 'PANGO_STRETCH_EXPANDED'
  • 'extra-expanded' / 'PANGO_STRETCH_EXTRA_EXPANDED'
  • 'ultra-expanded' / 'PANGO_STRETCH_ULTRA_EXPANDED'

πŸŽ€ enum Pango::Style πŸŽ€

  • 'normal' / 'PANGO_STYLE_NORMAL'
  • 'oblique' / 'PANGO_STYLE_OBLIQUE'
  • 'italic' / 'PANGO_STYLE_ITALIC'

πŸ“ enum Pango::Variant πŸ“

  • 'normal' / 'PANGO_VARIANT_NORMAL'
  • 'small-caps' / 'PANGO_VARIANT_SMALL_CAPS'
  • 'all-small-caps' / 'PANGO_VARIANT_ALL_SMALL_CAPS'
  • 'petite-caps' / 'PANGO_VARIANT_PETITE_CAPS'
  • 'all-petite-caps' / 'PANGO_VARIANT_ALL_PETITE_CAPS'
  • 'unicase' / 'PANGO_VARIANT_UNICASE'
  • 'title-caps' / 'PANGO_VARIANT_TITLE_CAPS'

πŸ‘‘ enum Pango::Weight πŸ‘‘

  • 'thin' / 'PANGO_WEIGHT_THIN'
  • 'ultralight' / 'PANGO_WEIGHT_ULTRALIGHT'
  • 'light' / 'PANGO_WEIGHT_LIGHT'
  • 'semilight' / 'PANGO_WEIGHT_SEMILIGHT'
  • 'book' / 'PANGO_WEIGHT_BOOK'
  • 'normal' / 'PANGO_WEIGHT_NORMAL'
  • 'medium' / 'PANGO_WEIGHT_MEDIUM'
  • 'semibold' / 'PANGO_WEIGHT_SEMIBOLD'
  • 'bold' / 'PANGO_WEIGHT_BOLD'
  • 'ultrabold' / 'PANGO_WEIGHT_ULTRABOLD'
  • 'heavy' / 'PANGO_WEIGHT_HEAVY'
  • 'ultraheavy' / 'PANGO_WEIGHT_ULTRAHEAVY'

πŸ‘€ SEE ALSO πŸ‘€

  • Pango
  • Glib::Boxed

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

This software is licensed under the LGPL. See Pango for a full notice.

okay bestie, that's the whole page β€” it's from perl v5.42.0, dated 2019-09-16, and it's the Pango::...ription(3) manual. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from