pangoContextGetMetrics         package:RGtk2         R Documentation

_p_a_n_g_o_C_o_n_t_e_x_t_G_e_t_M_e_t_r_i_c_s

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

     Get overall metric information for a particular font description. 
     Since the metrics may be substantially different for different
     scripts, a language tag can be provided to indicate that the
     metrics should be retrieved that correspond to the script(s) used
     by that language.

_U_s_a_g_e:

     pangoContextGetMetrics(object, desc, language = NULL)

_A_r_g_u_m_e_n_t_s:

'object': ['PangoContext']  a 'PangoContext'

  'desc': ['PangoFontDescription']  a 'PangoFontDescription' structure

'language': ['PangoLanguage']  language tag used to determine which
          script to get the metrics for. 'NULL' means that the language
          tag from the context will be used. If no language tag is set
          on the context, metrics large enough to cover a range of
          languages will be returned. The process of determining such
          metrics is slow, so it is best to always make sure some real
          language tag will be used.

_D_e_t_a_i_l_s:

     The 'PangoFontDescription' is interpreted in the same way as by
     'pangoItemize', and the family name may be a comma separated list
     of figures. If characters from multiple of these families would be
     used to render the string, then the returned fonts would be a
     composite of the metrics for the fonts loaded for the individual
     families.

_V_a_l_u_e:

     ['PangoFontMetrics']  a 'PangoFontMetrics' object.

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

     Derived by RGtkGen from GTK+ documentation

