.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" Required to disable full justification in groff 1.23.0. .if n .ds AD l .\" ======================================================================== .\" .IX Title "Pango::FontDescription 3" .TH Pango::FontDescription 3 2025-07-13 "perl v5.42.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Pango::FontDescription \- wrapper for PangoFontDescription .SH HIERARCHY .IX Header "HIERARCHY" .Vb 2 \& Glib::Boxed \& +\-\-\-\-Pango::FontDescription .Ve .SH METHODS .IX Header "METHODS" .SS "fontdescription = Pango::FontDescription\->\fBnew\fP" .IX Subsection "fontdescription = Pango::FontDescription->new" .SS "double = Pango\->\fBPANGO_PIXELS\fP ($d)" .IX Subsection "double = Pango->PANGO_PIXELS ($d)" .IP \(bu 4 \&\f(CW$d\fR (double) .ie n .SS "$desc\->\fBset_absolute_size\fP ($size)" .el .SS "\f(CW$desc\fP\->\fBset_absolute_size\fP ($size)" .IX Subsection "$desc->set_absolute_size ($size)" .IP \(bu 4 \&\f(CW$size\fR (double) .PP Since: pango 1.8 .ie n .SS "boolean = $desc\->\fBbetter_match\fP ($old_match, $new_match)" .el .SS "boolean = \f(CW$desc\fP\->\fBbetter_match\fP ($old_match, \f(CW$new_match\fP)" .IX Subsection "boolean = $desc->better_match ($old_match, $new_match)" .IP \(bu 4 \&\f(CW$old_match\fR (Pango::FontDescription or undef) .IP \(bu 4 \&\f(CW$new_match\fR (Pango::FontDescription) .ie n .SS "boolean = $desc1\->\fBequal\fP ($desc2)" .el .SS "boolean = \f(CW$desc1\fP\->\fBequal\fP ($desc2)" .IX Subsection "boolean = $desc1->equal ($desc2)" .IP \(bu 4 \&\f(CW$desc2\fR (Pango::FontDescription) .ie n .SS "string = $desc\->\fBget_family\fP" .el .SS "string = \f(CW$desc\fP\->\fBget_family\fP" .IX Subsection "string = $desc->get_family" .ie n .SS "$desc\->\fBset_family\fP ($family)" .el .SS "\f(CW$desc\fP\->\fBset_family\fP ($family)" .IX Subsection "$desc->set_family ($family)" .IP \(bu 4 \&\f(CW$family\fR (string) .ie n .SS "$desc\->\fBset_family_static\fP ($family)" .el .SS "\f(CW$desc\fP\->\fBset_family_static\fP ($family)" .IX Subsection "$desc->set_family_static ($family)" .IP \(bu 4 \&\f(CW$family\fR (string) .SS "fontdescription = Pango::FontDescription\->\fBfrom_string\fP ($str)" .IX Subsection "fontdescription = Pango::FontDescription->from_string ($str)" .IP \(bu 4 \&\f(CW$str\fR (string) .ie n .SS "gravity = $desc\->\fBget_gravity\fP" .el .SS "gravity = \f(CW$desc\fP\->\fBget_gravity\fP" .IX Subsection "gravity = $desc->get_gravity" Since: pango 1.16 .ie n .SS "$desc\->\fBset_gravity\fP ($gravity)" .el .SS "\f(CW$desc\fP\->\fBset_gravity\fP ($gravity)" .IX Subsection "$desc->set_gravity ($gravity)" .IP \(bu 4 \&\f(CW$gravity\fR (Pango::Gravity) .PP Since: pango 1.16 .ie n .SS "integer = $desc\->\fBhash\fP" .el .SS "integer = \f(CW$desc\fP\->\fBhash\fP" .IX Subsection "integer = $desc->hash" .ie n .SS "$desc\->\fBmerge\fP ($desc_to_merge, $replace_existing)" .el .SS "\f(CW$desc\fP\->\fBmerge\fP ($desc_to_merge, \f(CW$replace_existing\fP)" .IX Subsection "$desc->merge ($desc_to_merge, $replace_existing)" .IP \(bu 4 \&\f(CW$desc_to_merge\fR (Pango::FontDescription) .IP \(bu 4 \&\f(CW$replace_existing\fR (boolean) .ie n .SS "$desc\->\fBmerge_static\fP ($desc_to_merge, $replace_existing)" .el .SS "\f(CW$desc\fP\->\fBmerge_static\fP ($desc_to_merge, \f(CW$replace_existing\fP)" .IX Subsection "$desc->merge_static ($desc_to_merge, $replace_existing)" .IP \(bu 4 \&\f(CW$desc_to_merge\fR (Pango::FontDescription) .IP \(bu 4 \&\f(CW$replace_existing\fR (boolean) .SS "double = Pango\->\fBpixels\fP ($d)" .IX Subsection "double = Pango->pixels ($d)" .IP \(bu 4 \&\f(CW$d\fR (double) .SS "double = Pango\->\fBscale\fP" .IX Subsection "double = Pango->scale" .SS "double = Pango\->\fBscale_large\fP" .IX Subsection "double = Pango->scale_large" .SS "double = Pango\->\fBscale_medium\fP" .IX Subsection "double = Pango->scale_medium" .SS "double = Pango\->\fBscale_small\fP" .IX Subsection "double = Pango->scale_small" .SS "double = Pango\->\fBscale_x_large\fP" .IX Subsection "double = Pango->scale_x_large" .SS "double = Pango\->\fBscale_x_small\fP" .IX Subsection "double = Pango->scale_x_small" .SS "double = Pango\->\fBscale_xx_large\fP" .IX Subsection "double = Pango->scale_xx_large" .SS "double = Pango\->\fBscale_xx_small\fP" .IX Subsection "double = Pango->scale_xx_small" .ie n .SS "fontmask = $desc\->\fBget_set_fields\fP" .el .SS "fontmask = \f(CW$desc\fP\->\fBget_set_fields\fP" .IX Subsection "fontmask = $desc->get_set_fields" .ie n .SS "integer = $desc\->\fBget_size\fP" .el .SS "integer = \f(CW$desc\fP\->\fBget_size\fP" .IX Subsection "integer = $desc->get_size" .ie n .SS "boolean = $desc\->\fBget_size_is_absolute\fP" .el .SS "boolean = \f(CW$desc\fP\->\fBget_size_is_absolute\fP" .IX Subsection "boolean = $desc->get_size_is_absolute" Since: pango 1.8 .ie n .SS "$desc\->\fBset_size\fP ($size)" .el .SS "\f(CW$desc\fP\->\fBset_size\fP ($size)" .IX Subsection "$desc->set_size ($size)" .IP \(bu 4 \&\f(CW$size\fR (integer) .ie n .SS "stretch = $desc\->\fBget_stretch\fP" .el .SS "stretch = \f(CW$desc\fP\->\fBget_stretch\fP" .IX Subsection "stretch = $desc->get_stretch" .ie n .SS "$desc\->\fBset_stretch\fP ($stretch)" .el .SS "\f(CW$desc\fP\->\fBset_stretch\fP ($stretch)" .IX Subsection "$desc->set_stretch ($stretch)" .IP \(bu 4 \&\f(CW$stretch\fR (Pango::Stretch) .ie n .SS "style = $desc\->\fBget_style\fP" .el .SS "style = \f(CW$desc\fP\->\fBget_style\fP" .IX Subsection "style = $desc->get_style" .ie n .SS "$desc\->\fBset_style\fP ($style)" .el .SS "\f(CW$desc\fP\->\fBset_style\fP ($style)" .IX Subsection "$desc->set_style ($style)" .IP \(bu 4 \&\f(CW$style\fR (Pango::Style) .ie n .SS "string = $desc\->\fBto_filename\fP" .el .SS "string = \f(CW$desc\fP\->\fBto_filename\fP" .IX Subsection "string = $desc->to_filename" .ie n .SS "string = $desc\->\fBto_string\fP" .el .SS "string = \f(CW$desc\fP\->\fBto_string\fP" .IX Subsection "string = $desc->to_string" .ie n .SS "$desc\->\fBunset_fields\fP ($to_unset)" .el .SS "\f(CW$desc\fP\->\fBunset_fields\fP ($to_unset)" .IX Subsection "$desc->unset_fields ($to_unset)" .IP \(bu 4 \&\f(CW$to_unset\fR (Pango::FontMask) .ie n .SS "variant = $desc\->\fBget_variant\fP" .el .SS "variant = \f(CW$desc\fP\->\fBget_variant\fP" .IX Subsection "variant = $desc->get_variant" .ie n .SS "$desc\->\fBset_variant\fP ($variant)" .el .SS "\f(CW$desc\fP\->\fBset_variant\fP ($variant)" .IX Subsection "$desc->set_variant ($variant)" .IP \(bu 4 \&\f(CW$variant\fR (Pango::Variant) .ie n .SS "weight = $desc\->\fBget_weight\fP" .el .SS "weight = \f(CW$desc\fP\->\fBget_weight\fP" .IX Subsection "weight = $desc->get_weight" .ie n .SS "$desc\->\fBset_weight\fP ($weight)" .el .SS "\f(CW$desc\fP\->\fBset_weight\fP ($weight)" .IX Subsection "$desc->set_weight ($weight)" .IP \(bu 4 \&\f(CW$weight\fR (Pango::Weight) .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "flags Pango::FontMask" .IX Subsection "flags Pango::FontMask" .IP \(bu 4 \&\*(Aqfamily\*(Aq / \*(AqPANGO_FONT_MASK_FAMILY\*(Aq .IP \(bu 4 \&\*(Aqstyle\*(Aq / \*(AqPANGO_FONT_MASK_STYLE\*(Aq .IP \(bu 4 \&\*(Aqvariant\*(Aq / \*(AqPANGO_FONT_MASK_VARIANT\*(Aq .IP \(bu 4 \&\*(Aqweight\*(Aq / \*(AqPANGO_FONT_MASK_WEIGHT\*(Aq .IP \(bu 4 \&\*(Aqstretch\*(Aq / \*(AqPANGO_FONT_MASK_STRETCH\*(Aq .IP \(bu 4 \&\*(Aqsize\*(Aq / \*(AqPANGO_FONT_MASK_SIZE\*(Aq .IP \(bu 4 \&\*(Aqgravity\*(Aq / \*(AqPANGO_FONT_MASK_GRAVITY\*(Aq .IP \(bu 4 \&\*(Aqvariations\*(Aq / \*(AqPANGO_FONT_MASK_VARIATIONS\*(Aq .IP \(bu 4 \&\*(Aqfeatures\*(Aq / \*(AqPANGO_FONT_MASK_FEATURES\*(Aq .SS "enum Pango::Gravity" .IX Subsection "enum Pango::Gravity" .IP \(bu 4 \&\*(Aqsouth\*(Aq / \*(AqPANGO_GRAVITY_SOUTH\*(Aq .IP \(bu 4 \&\*(Aqeast\*(Aq / \*(AqPANGO_GRAVITY_EAST\*(Aq .IP \(bu 4 \&\*(Aqnorth\*(Aq / \*(AqPANGO_GRAVITY_NORTH\*(Aq .IP \(bu 4 \&\*(Aqwest\*(Aq / \*(AqPANGO_GRAVITY_WEST\*(Aq .IP \(bu 4 \&\*(Aqauto\*(Aq / \*(AqPANGO_GRAVITY_AUTO\*(Aq .SS "enum Pango::Stretch" .IX Subsection "enum Pango::Stretch" .IP \(bu 4 \&\*(Aqultra\-condensed\*(Aq / \*(AqPANGO_STRETCH_ULTRA_CONDENSED\*(Aq .IP \(bu 4 \&\*(Aqextra\-condensed\*(Aq / \*(AqPANGO_STRETCH_EXTRA_CONDENSED\*(Aq .IP \(bu 4 \&\*(Aqcondensed\*(Aq / \*(AqPANGO_STRETCH_CONDENSED\*(Aq .IP \(bu 4 \&\*(Aqsemi\-condensed\*(Aq / \*(AqPANGO_STRETCH_SEMI_CONDENSED\*(Aq .IP \(bu 4 \&\*(Aqnormal\*(Aq / \*(AqPANGO_STRETCH_NORMAL\*(Aq .IP \(bu 4 \&\*(Aqsemi\-expanded\*(Aq / \*(AqPANGO_STRETCH_SEMI_EXPANDED\*(Aq .IP \(bu 4 \&\*(Aqexpanded\*(Aq / \*(AqPANGO_STRETCH_EXPANDED\*(Aq .IP \(bu 4 \&\*(Aqextra\-expanded\*(Aq / \*(AqPANGO_STRETCH_EXTRA_EXPANDED\*(Aq .IP \(bu 4 \&\*(Aqultra\-expanded\*(Aq / \*(AqPANGO_STRETCH_ULTRA_EXPANDED\*(Aq .SS "enum Pango::Style" .IX Subsection "enum Pango::Style" .IP \(bu 4 \&\*(Aqnormal\*(Aq / \*(AqPANGO_STYLE_NORMAL\*(Aq .IP \(bu 4 \&\*(Aqoblique\*(Aq / \*(AqPANGO_STYLE_OBLIQUE\*(Aq .IP \(bu 4 \&\*(Aqitalic\*(Aq / \*(AqPANGO_STYLE_ITALIC\*(Aq .SS "enum Pango::Variant" .IX Subsection "enum Pango::Variant" .IP \(bu 4 \&\*(Aqnormal\*(Aq / \*(AqPANGO_VARIANT_NORMAL\*(Aq .IP \(bu 4 \&\*(Aqsmall\-caps\*(Aq / \*(AqPANGO_VARIANT_SMALL_CAPS\*(Aq .IP \(bu 4 \&\*(Aqall\-small\-caps\*(Aq / \*(AqPANGO_VARIANT_ALL_SMALL_CAPS\*(Aq .IP \(bu 4 \&\*(Aqpetite\-caps\*(Aq / \*(AqPANGO_VARIANT_PETITE_CAPS\*(Aq .IP \(bu 4 \&\*(Aqall\-petite\-caps\*(Aq / \*(AqPANGO_VARIANT_ALL_PETITE_CAPS\*(Aq .IP \(bu 4 \&\*(Aqunicase\*(Aq / \*(AqPANGO_VARIANT_UNICASE\*(Aq .IP \(bu 4 \&\*(Aqtitle\-caps\*(Aq / \*(AqPANGO_VARIANT_TITLE_CAPS\*(Aq .SS "enum Pango::Weight" .IX Subsection "enum Pango::Weight" .IP \(bu 4 \&\*(Aqthin\*(Aq / \*(AqPANGO_WEIGHT_THIN\*(Aq .IP \(bu 4 \&\*(Aqultralight\*(Aq / \*(AqPANGO_WEIGHT_ULTRALIGHT\*(Aq .IP \(bu 4 \&\*(Aqlight\*(Aq / \*(AqPANGO_WEIGHT_LIGHT\*(Aq .IP \(bu 4 \&\*(Aqsemilight\*(Aq / \*(AqPANGO_WEIGHT_SEMILIGHT\*(Aq .IP \(bu 4 \&\*(Aqbook\*(Aq / \*(AqPANGO_WEIGHT_BOOK\*(Aq .IP \(bu 4 \&\*(Aqnormal\*(Aq / \*(AqPANGO_WEIGHT_NORMAL\*(Aq .IP \(bu 4 \&\*(Aqmedium\*(Aq / \*(AqPANGO_WEIGHT_MEDIUM\*(Aq .IP \(bu 4 \&\*(Aqsemibold\*(Aq / \*(AqPANGO_WEIGHT_SEMIBOLD\*(Aq .IP \(bu 4 \&\*(Aqbold\*(Aq / \*(AqPANGO_WEIGHT_BOLD\*(Aq .IP \(bu 4 \&\*(Aqultrabold\*(Aq / \*(AqPANGO_WEIGHT_ULTRABOLD\*(Aq .IP \(bu 4 \&\*(Aqheavy\*(Aq / \*(AqPANGO_WEIGHT_HEAVY\*(Aq .IP \(bu 4 \&\*(Aqultraheavy\*(Aq / \*(AqPANGO_WEIGHT_ULTRAHEAVY\*(Aq .SH "SEE ALSO" .IX Header "SEE ALSO" Pango, Glib::Boxed .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Pango for a full notice.