pango-Fonts              package:RGtk2              R Documentation

_F_o_n_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     Structures representing abstract fonts

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     '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)'
      'pangoFontMapLoadFont(object, context, desc)'
      'pangoFontMapLoadFontset(object, context, desc, language)'
      'pangoFontMapListFamilies(object)'
      'pangoFontsetGetFont(object, wc)'
      'pangoFontsetGetMetrics(object)'
      'pangoFontsetForeach(object, func, data)'

_H_i_e_r_a_r_c_h_y:


     GObject
        +----PangoFont
              +----PangoFcFont
     GObject
        +----PangoFontFamily
     GObject
        +----PangoFontFace
     GObject
        +----PangoFontMap
              +----PangoFcFontMap
     GObject
        +----PangoFontset
              +----PangoFontsetSimple
     GObject
        +----PangoFontset
              +----PangoFontsetSimple


_I_n_t_e_r_f_a_c_e _D_e_r_i_v_a_t_i_o_n_s:

     PangoFontMap is required by 'PangoCairoFontMap'.

_D_e_t_a_i_l_e_d _D_e_s_c_r_i_p_t_i_o_n:

     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.

_S_t_r_u_c_t_u_r_e_s:


     '_P_a_n_g_o_F_o_n_t_D_e_s_c_r_i_p_t_i_o_n' The '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.


     '_P_a_n_g_o_F_o_n_t_M_e_t_r_i_c_s' A '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.

          '_r_e_f__c_o_u_n_t' [numeric] reference count.  Used internally.  See
               'pangoFontMetricsRef()' and 'pangoFontMetricsUnref()'.

          '_a_s_c_e_n_t' [integer] the distance from the baseline to the
               highest point of the glyphs of the font. This is
               positive in practically all fonts.

          '_d_e_s_c_e_n_t' [integer] the distance from the baseline to the
               lowest point of the glyphs of the font. This is positive
               in practically all fonts.

          '_a_p_p_r_o_x_i_m_a_t_e__c_h_a_r__w_i_d_t_h' [integer] approximate average width
               of the regular glyphs of the font.

          '_a_p_p_r_o_x_i_m_a_t_e__d_i_g_i_t__w_i_d_t_h' [integer] approximate average width
               of the glyphs for digits of the font.

          '_u_n_d_e_r_l_i_n_e__p_o_s_i_t_i_o_n' [integer] position of the underline.
               This is normally negative.

          '_u_n_d_e_r_l_i_n_e__t_h_i_c_k_n_e_s_s' [integer] thickness of the underline.

          '_s_t_r_i_k_e_t_h_r_o_u_g_h__p_o_s_i_t_i_o_n' [integer] position of the
               strikethrough line. This is normally positive.

          '_s_t_r_i_k_e_t_h_r_o_u_g_h__t_h_i_c_k_n_e_s_s' [integer] thickness of the
               strikethrough line.


     '_P_a_n_g_o_F_o_n_t' The '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.


     '_P_a_n_g_o_F_o_n_t_F_a_m_i_l_y' The '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.


     '_P_a_n_g_o_F_o_n_t_F_a_c_e' The 'PangoFontFace' structure is used to represent
          a group of fonts with  the same family, slant, weight, width,
          but varying sizes.


     '_P_a_n_g_o_F_o_n_t_M_a_p' The '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.


     '_P_a_n_g_o_F_o_n_t_s_e_t' A '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.


     '_P_a_n_g_o_F_o_n_t_s_e_t_S_i_m_p_l_e' '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'.


_E_n_u_m_s _a_n_d _F_l_a_g_s:


     '_P_a_n_g_o_S_t_y_l_e' An enumeration specifying the various slant styles
          possible for a font.  

          '_n_o_r_m_a_l' the font is upright.

          '_o_b_l_i_q_u_e' the font is slanted, but in a roman style.

          '_i_t_a_l_i_c' the font is slanted in an italic style.


     '_P_a_n_g_o_W_e_i_g_h_t' An enumeration specifying the weight (boldness) of a
          font. This is a numerical value ranging from 100 to 900, but
          there are some predefined values:

          '_u_l_t_r_a_l_i_g_h_t' the ultralight weight (= 200)

          '_l_i_g_h_t' the light weight (=300)

          '_n_o_r_m_a_l' the default weight (= 400)

          '_s_e_m_i_b_o_l_d' a weight intermediate between normal and bold
               (=600)

          '_b_o_l_d' the bold weight (= 700)

          '_u_l_t_r_a_b_o_l_d' the ultrabold weight (= 800)

          '_h_e_a_v_y' the heavy weight (= 900)


     '_P_a_n_g_o_V_a_r_i_a_n_t' An enumeration specifying capitalization variant of
          the font.

          '_n_o_r_m_a_l' A normal font.

          '_s_m_a_l_l-_c_a_p_s' A font with the lower case characters replaced
               by smaller variants of the capital characters.


     '_P_a_n_g_o_S_t_r_e_t_c_h' An enumeration specifying the width of the font
          relative to other designs within a family.

          '_u_l_t_r_a-_c_o_n_d_e_n_s_e_d' ultra condensed width

          '_e_x_t_r_a-_c_o_n_d_e_n_s_e_d' extra condensed width

          '_c_o_n_d_e_n_s_e_d' condensed width

          '_s_e_m_i-_c_o_n_d_e_n_s_e_d' semi condensed width

          '_n_o_r_m_a_l' the normal width

          '_s_e_m_i-_e_x_p_a_n_d_e_d' semi expanded width

          '_e_x_p_a_n_d_e_d' expanded width

          '_e_x_t_r_a-_e_x_p_a_n_d_e_d' extra expanded width

          '_u_l_t_r_a-_e_x_p_a_n_d_e_d' ultra expanded width


     '_P_a_n_g_o_F_o_n_t_M_a_s_k' The bits in a 'PangoFontMask' correspond to fields
          in a   'PangoFontDescription' that have been set.

          '_f_a_m_i_l_y' the font family is specified.

          '_s_t_y_l_e' the font style is specified.

          '_v_a_r_i_a_n_t' the font variant is specified.

          '_w_e_i_g_h_t' the font weight is specified.

          '_s_t_r_e_t_c_h' the font stretch is specified.

          '_s_i_z_e' the font size is specified.


_U_s_e_r _F_u_n_c_t_i_o_n_s:


     '_P_a_n_g_o_F_o_n_t_s_e_t_F_o_r_e_a_c_h_F_u_n_c(_f_o_n_t_s_e_t, _f_o_n_t, _d_a_t_a)' A callback function
          used by 'pangoFontsetForeach' when enumerating the fonts in a
          fontset.  

          Since  1.4

          '_f_o_n_t_s_e_t' ['PangoFontset']  a 'PangoFontset'

          '_f_o_n_t' ['PangoFont']  a font from 'fontset'

          '_d_a_t_a' [R object]  callback data

          _Returns:_ [logical]  if 'TRUE', stop iteration and return
          immediately.


_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL:
     http://developer.gnome.org/doc/API/2.0/pango/pango-Fonts.html>

