pango-Fonts {RGtk2} | R Documentation |
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)
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)
pangoFontFindShaper(object, language, ch)
pangoFontDescribe(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)
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
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-indepent 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.
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 malloc
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
pango\Font\Init()
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 malloc 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
pango\Font\Map\Init()
on the structure.
The PangoFont
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
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
PangoFontsetForeachFunc(fontset, font, data)
pangoFontsetForeach
when enumerating
the fonts in a fontset.
Since 1.4
fontset
PangoFontset
] a PangoFontset
font
PangoFont
] a font from fontset
data
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/pango/pango-Fonts.html