Fonts
Structures representing abstract fonts
pangoFontDescriptionNew()pangoFontDescriptionCopy(object)pangoFontDescriptionCopyStatic(object)pangoFontDescriptionHash(object)pangoFontDescriptionEqual(object, desc2)pangoFontDescriptionSetFamily(object, family)pangoFontDescriptionSetFamilyStatic(object, family)pangoFontDescriptionGetFamily(object)pangoFontDescriptionSetStyle(object, style)pangoFontDescriptionGetStyle(object)pangoFontDescriptionSetVariant(object, variant)pangoFontDescriptionGetVariant(object)pangoFontDescriptionSetWeight(object, weight)pangoFontDescriptionGetWeight(object)pangoFontDescriptionSetStretch(object, stretch)pangoFontDescriptionGetStretch(object)pangoFontDescriptionSetSize(object, size)pangoFontDescriptionGetSize(object)pangoFontDescriptionSetAbsoluteSize(object, size)pangoFontDescriptionGetSizeIsAbsolute(object)pangoFontDescriptionSetGravity(object, gravity)pangoFontDescriptionGetGravity(object)pangoFontDescriptionGetSetFields(object)pangoFontDescriptionUnsetFields(object, to.unset)pangoFontDescriptionMerge(object, desc.to.merge, replace.existing)pangoFontDescriptionBetterMatch(object, old.match = NULL, new.match)pangoFontDescriptionFromString(str)pangoFontDescriptionToString(object)pangoFontDescriptionToFilename(object)pangoFontMetricsGetAscent(object)pangoFontMetricsGetDescent(object)pangoFontMetricsGetApproximateCharWidth(object)pangoFontMetricsGetApproximateDigitWidth(object)pangoFontMetricsGetUnderlineThickness(object)pangoFontMetricsGetUnderlinePosition(object)pangoFontMetricsGetStrikethroughThickness(object)pangoFontMetricsGetStrikethroughPosition(object)pangoFontDescribe(object)pangoFontDescribeWithAbsoluteSize(object)pangoFontGetCoverage(object, language)pangoFontGetGlyphExtents(object, glyph)pangoFontGetMetrics(object, language = NULL)pangoFontGetFontMap(object)pangoFontFamilyGetName(object)pangoFontFamilyIsMonospace(object)pangoFontFamilyListFaces(object)pangoFontFaceGetFaceName(object)pangoFontFaceListSizes(object)pangoFontFaceDescribe(object)pangoFontFaceIsSynthesized(object)pangoFontMapCreateContext(object)pangoFontMapLoadFont(object, context, desc)pangoFontMapLoadFontset(object, context, desc, language)pangoFontMapListFamilies(object)pangoFontsetGetFont(object, wc)pangoFontsetGetMetrics(object)pangoFontsetForeach(object, func, data)
GObject
+----PangoFont
+----PangoFcFont
GObject
+----PangoFontFamily
GObject
+----PangoFontFace
GObject
+----PangoFontMap
+----PangoFcFontMap
GObject
+----PangoFontset
+----PangoFontsetSimple
GObject
+----PangoFontset
+----PangoFontsetSimplePangoFont is required by
PangoCairoFont.
PangoFontMap is required by
PangoCairoFontMap.
Pango supports a flexible architecture where a
particular rendering architecture can supply an
implementation of fonts. The PangoFont structure
represents an abstract rendering-system-independent font.
Pango provides routines to list available fonts, and
to load a font of a given description.
PangoFontDescriptionThe PangoFontDescription structure represents the description
of an ideal font. These structures are used both to list
what fonts are available on the system and also for specifying
the characteristics of a font to load.
PangoFontMetricsA PangoFontMetrics structure holds the overall metric information
for a font (possibly restricted to a script). The fields of this
structure are private to implementations of a font backend. See
the documentation of the corresponding getters for documentation
of their meaning.
ref_count[numeric] reference count. Used internally. See pangoFontMetricsRef()
and pangoFontMetricsUnref().
ascent[integer] the distance from the baseline to the highest point of the glyphs of the font. This is positive in practically all fonts.
descent[integer] the distance from the baseline to the lowest point of the glyphs of the font. This is positive in practically all fonts.
approximate_char_width[integer] approximate average width of the regular glyphs of
the font. Note that for this calculation, East Asian characters
(those passing gUnicharIswide()) are counted as double-width.
This produces a more uniform value for this measure across languages
and results in more uniform and more expected UI sizes.
approximate_digit_width[integer] approximate average width of the glyphs for digits of the font.
underline_position[integer] position of the underline. This is normally negative.
underline_thickness[integer] thickness of the underline.
strikethrough_position[integer] position of the strikethrough line. This is normally positive.
strikethrough_thickness[integer] thickness of the strikethrough line.
PangoFontThe PangoFont structure is used to represent
a font in a rendering-system-independent matter.
To create an implementation of a PangoFont,
the rendering-system specific code should allocate
a larger structure that contains a nested
PangoFont, fill in the klass member of
the nested PangoFont with a pointer to
a appropriate PangoFontClass, then call
pangoFontInit() on the structure.
The PangoFont structure contains one member
which the implementation fills in.
PangoFontFamilyThe PangoFontFamily structure is used to represent a family of related
font faces. The faces in a family share a common design, but differ in
slant, weight, width and other aspects.
PangoFontFaceThe PangoFontFace structure is used to represent a group of fonts with
the same family, slant, weight, width, but varying sizes.
PangoFontMapThe PangoFontMap represents the set of fonts available for a
particular rendering system. This is a virtual object with
implementations being specific to particular rendering systems. To
create an implementation of a PangoFontMap, the rendering-system
specific code should allocate a larger structure that contains a nested
PangoFontMap, fill in the klass member of the nested PangoFontMap with a
pointer to a appropriate PangoFontMapClass, then call
pangoFontMapInit() on the structure.
The PangoFontMap structure contains one member which the implementation
fills in.
PangoFontsetA PangoFontset represents a set of PangoFont to use
when rendering text. It is the result of resolving a
PangoFontDescription against a particular PangoContext.
It has operations for finding the component font for
a particular Unicode character, and for finding a composite
set of metrics for the entire fontset.
PangoFontsetSimplePangoFontsetSimple is a implementation of the abstract
PangoFontset base class in terms of a list of fonts,
which the creator provides when constructing the
PangoFontsetSimple.
PangoStyleAn enumeration specifying the various slant styles possible for a font.
normalthe font is upright.
obliquethe font is slanted, but in a roman style.
italicthe font is slanted in an italic style.
PangoWeightAn enumeration specifying the weight (boldness) of a font. This is a numerical value ranging from 100 to 900, but there are some predefined values:
ultralightthe thin weight (= 100; Since: 1.24)
lightthe ultralight weight (= 200)
normalthe light weight (= 300)
semiboldthe book weight (= 380; Since: 1.24)
boldthe default weight (= 400)
ultraboldthe normal weight (= 500; Since: 1.24)
heavythe semibold weight (= 600)
bookthe bold weight (= 700)
ultraheavythe ultrabold weight (= 800)
thinthe heavy weight (= 900)
mediumthe ultraheavy weight (= 1000; Since: 1.24)
PangoVariantAn enumeration specifying capitalization variant of the font.
normalA normal font.
small-capsA font with the lower case characters replaced by smaller variants of the capital characters.
PangoStretchAn enumeration specifying the width of the font relative to other designs within a family.
ultra-condensedultra condensed width
extra-condensedextra condensed width
condensedcondensed width
semi-condensedsemi condensed width
normalthe normal width
semi-expandedsemi expanded width
expandedexpanded width
extra-expandedextra expanded width
ultra-expandedultra expanded width
PangoFontMaskThe bits in a PangoFontMask correspond to fields in a
PangoFontDescription that have been set.
familythe font family is specified.
stylethe font style is specified.
variantthe font variant is specified.
weightthe font weight is specified.
stretchthe font stretch is specified.
sizethe font size is specified.
PangoFontsetForeachFunc(fontset, font, data)A callback function used by pangoFontsetForeach when enumerating
the fonts in a fontset.
Since 1.4
fontsetfont[PangoFont] a font from fontset
data[R object] callback data
Returns: [logical] if TRUE, stop iteration and return immediately.
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.