.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" 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 .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . 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 .\" ======================================================================== .\" .IX Title "Pango::FontDescription 3pm" .TH Pango::FontDescription 3pm "2020-11-09" "perl v5.32.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 \- Pango object to represent a description of a font .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" .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) .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 \&'family' / '\s-1PANGO_FONT_MASK_FAMILY\s0' .IP "\(bu" 4 \&'style' / '\s-1PANGO_FONT_MASK_STYLE\s0' .IP "\(bu" 4 \&'variant' / '\s-1PANGO_FONT_MASK_VARIANT\s0' .IP "\(bu" 4 \&'weight' / '\s-1PANGO_FONT_MASK_WEIGHT\s0' .IP "\(bu" 4 \&'stretch' / '\s-1PANGO_FONT_MASK_STRETCH\s0' .IP "\(bu" 4 \&'size' / '\s-1PANGO_FONT_MASK_SIZE\s0' .IP "\(bu" 4 \&'gravity' / '\s-1PANGO_FONT_MASK_GRAVITY\s0' .IP "\(bu" 4 \&'variations' / '\s-1PANGO_FONT_MASK_VARIATIONS\s0' .SS "enum Pango::Gravity" .IX Subsection "enum Pango::Gravity" .IP "\(bu" 4 \&'south' / '\s-1PANGO_GRAVITY_SOUTH\s0' .IP "\(bu" 4 \&'east' / '\s-1PANGO_GRAVITY_EAST\s0' .IP "\(bu" 4 \&'north' / '\s-1PANGO_GRAVITY_NORTH\s0' .IP "\(bu" 4 \&'west' / '\s-1PANGO_GRAVITY_WEST\s0' .IP "\(bu" 4 \&'auto' / '\s-1PANGO_GRAVITY_AUTO\s0' .SS "enum Pango::Stretch" .IX Subsection "enum Pango::Stretch" .IP "\(bu" 4 \&'ultra\-condensed' / '\s-1PANGO_STRETCH_ULTRA_CONDENSED\s0' .IP "\(bu" 4 \&'extra\-condensed' / '\s-1PANGO_STRETCH_EXTRA_CONDENSED\s0' .IP "\(bu" 4 \&'condensed' / '\s-1PANGO_STRETCH_CONDENSED\s0' .IP "\(bu" 4 \&'semi\-condensed' / '\s-1PANGO_STRETCH_SEMI_CONDENSED\s0' .IP "\(bu" 4 \&'normal' / '\s-1PANGO_STRETCH_NORMAL\s0' .IP "\(bu" 4 \&'semi\-expanded' / '\s-1PANGO_STRETCH_SEMI_EXPANDED\s0' .IP "\(bu" 4 \&'expanded' / '\s-1PANGO_STRETCH_EXPANDED\s0' .IP "\(bu" 4 \&'extra\-expanded' / '\s-1PANGO_STRETCH_EXTRA_EXPANDED\s0' .IP "\(bu" 4 \&'ultra\-expanded' / '\s-1PANGO_STRETCH_ULTRA_EXPANDED\s0' .SS "enum Pango::Style" .IX Subsection "enum Pango::Style" .IP "\(bu" 4 \&'normal' / '\s-1PANGO_STYLE_NORMAL\s0' .IP "\(bu" 4 \&'oblique' / '\s-1PANGO_STYLE_OBLIQUE\s0' .IP "\(bu" 4 \&'italic' / '\s-1PANGO_STYLE_ITALIC\s0' .SS "enum Pango::Variant" .IX Subsection "enum Pango::Variant" .IP "\(bu" 4 \&'normal' / '\s-1PANGO_VARIANT_NORMAL\s0' .IP "\(bu" 4 \&'small\-caps' / '\s-1PANGO_VARIANT_SMALL_CAPS\s0' .SS "enum Pango::Weight" .IX Subsection "enum Pango::Weight" .IP "\(bu" 4 \&'thin' / '\s-1PANGO_WEIGHT_THIN\s0' .IP "\(bu" 4 \&'ultralight' / '\s-1PANGO_WEIGHT_ULTRALIGHT\s0' .IP "\(bu" 4 \&'light' / '\s-1PANGO_WEIGHT_LIGHT\s0' .IP "\(bu" 4 \&'semilight' / '\s-1PANGO_WEIGHT_SEMILIGHT\s0' .IP "\(bu" 4 \&'book' / '\s-1PANGO_WEIGHT_BOOK\s0' .IP "\(bu" 4 \&'normal' / '\s-1PANGO_WEIGHT_NORMAL\s0' .IP "\(bu" 4 \&'medium' / '\s-1PANGO_WEIGHT_MEDIUM\s0' .IP "\(bu" 4 \&'semibold' / '\s-1PANGO_WEIGHT_SEMIBOLD\s0' .IP "\(bu" 4 \&'bold' / '\s-1PANGO_WEIGHT_BOLD\s0' .IP "\(bu" 4 \&'ultrabold' / '\s-1PANGO_WEIGHT_ULTRABOLD\s0' .IP "\(bu" 4 \&'heavy' / '\s-1PANGO_WEIGHT_HEAVY\s0' .IP "\(bu" 4 \&'ultraheavy' / '\s-1PANGO_WEIGHT_ULTRAHEAVY\s0' .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 \s-1LGPL.\s0 See Pango for a full notice.