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 +----PangoFontsetSimple
PangoCairoFont
.
PangoFontMap is required by
PangoCairoFontMap
.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.PangoFontDescription
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. PangoFontMetrics
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
pangoFontMetricsRef()
and pangoFontMetricsUnref()
.ascent
descent
approximate_char_width
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
underline_position
underline_thickness
strikethrough_position
strikethrough_thickness
PangoFont
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. PangoFontFamily
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. PangoFontFace
PangoFontFace
structure is used to represent a group of fonts with
the same family, slant, weight, width, but varying sizes. PangoFontMap
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. PangoFontset
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. PangoFontsetSimple
PangoFontsetSimple
is a implementation of the abstract
PangoFontset
base class in terms of a list of fonts,
which the creator provides when constructing the
PangoFontsetSimple
. PangoStyle
normal
oblique
italic
PangoWeight
ultralight
light
normal
semibold
bold
ultrabold
heavy
book
ultraheavy
thin
medium
PangoVariant
normal
small-caps
PangoStretch
ultra-condensed
extra-condensed
condensed
semi-condensed
normal
semi-expanded
expanded
extra-expanded
ultra-expanded
PangoFontMask
PangoFontMask
correspond to fields in a
PangoFontDescription
that have been set. family
style
variant
weight
stretch
size