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)β thePANGO_PIXELShelper, 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$desc1and$desc2in 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 aPango::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 aPango::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 π
PangoGlib::Boxed
π COPYRIGHT π
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
- 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