cairo-Font-Options           package:RGtk2           R Documentation

_c_a_i_r_o__f_o_n_t__o_p_t_i_o_n_s__t

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

     How a font should be rendered

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

     'cairoFontOptionsCreate()'
      'cairoFontOptionsCopy(original)'
      'cairoFontOptionsStatus(options)'
      'cairoFontOptionsMerge(options, other)'
      'cairoFontOptionsEqual(options, other)'
      'cairoFontOptionsSetAntialias(options, antialias)'
      'cairoFontOptionsGetAntialias(options)'
      'cairoFontOptionsSetSubpixelOrder(options, subpixel.order)'
      'cairoFontOptionsGetSubpixelOrder(options)'
      'cairoFontOptionsSetHintStyle(options, hint.style)'
      'cairoFontOptionsGetHintStyle(options)'
      'cairoFontOptionsSetHintMetrics(options, hint.metrics)'
      'cairoFontOptionsGetHintMetrics(options)'
      'cairoFontOptions()'

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

     The font options specify how fonts should be rendered.  Most of
     the time the font options implied by a surface are just right and
     do not need any changes, but for pixel-based targets tweaking font
     options may result in superior output on a particular display.

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


     '_C_a_i_r_o_F_o_n_t_O_p_t_i_o_n_s' An opaque structure holding all options that
          are used when rendering fonts.

          Individual features of a 'CairoFontOptions' can be set or
          accessed using functions named
          cairo_font_options_set__feature_name_ and
          cairo_font_options_get__feature_name_, like
          'cairoFontOptionsSetAntialias' and
          'cairoFontOptionsGetAntialias'.

          New features may be added to a 'CairoFontOptions' in the
          future.  For this reason, 'cairoFontOptionsCopy',
          'cairoFontOptionsEqual', 'cairoFontOptionsMerge', and
          'cairoFontOptionsHash()' should be used to copy, check for
          equality, merge, or compute a hash value of
          'CairoFontOptions' objects.  


_C_o_n_v_e_n_i_e_n_t _C_o_n_s_t_r_u_c_t_i_o_n:

     'cairoFontOptions' is the equivalent of 'cairoFontOptionsCreate'.

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


     '_C_a_i_r_o_S_u_b_p_i_x_e_l_O_r_d_e_r' The subpixel order specifies the order of
          color elements within each pixel on the display device when
          rendering with an antialiasing mode of
          'CAIRO_ANTIALIAS_SUBPIXEL'.  

          '_d_e_f_a_u_l_t' Use the default subpixel order for for the target
               device

          '_r_g_b' Subpixel elements are arranged horizontally with red at
               the left

          '_b_g_r' Subpixel elements are arranged horizontally with blue
               at the left

          '_v_r_g_b' Subpixel elements are arranged vertically with red at
               the top

          '_v_b_g_r' Subpixel elements are arranged vertically with blue at
               the top


     '_C_a_i_r_o_H_i_n_t_S_t_y_l_e' Specifies the type of hinting to do on font
          outlines. Hinting is the process of fitting outlines to the
          pixel grid in order to improve the appearance of the result.
          Since hinting outlines involves distorting them, it also
          reduces the faithfulness to the original outline shapes. Not
          all of the outline hinting styles are supported by all font
          backends.

          New entries may be added in future versions.  

          '_d_e_f_a_u_l_t' Use the default hint style for font backend and
               target device

          '_n_o_n_e' Do not hint outlines

          '_s_l_i_g_h_t' Hint outlines slightly to improve contrast while
               retaining good fidelity to the original shapes.

          '_m_e_d_i_u_m' Hint outlines with medium strength giving a
               compromise between fidelity to the original shapes and
               contrast

          '_f_u_l_l' Hint outlines to maximize contrast


     '_C_a_i_r_o_H_i_n_t_M_e_t_r_i_c_s' Specifies whether to hint font metrics; hinting
          font metrics means quantizing them so that they are integer
          values in device space. Doing this improves the consistency
          of letter and line spacing, however it also means that text
          will be laid out differently at different zoom factors.  

          '_d_e_f_a_u_l_t' Hint metrics in the default manner for the font
               backend and target device

          '_o_f_f' Do not hint font metrics

          '_o_n' Hint font metrics


_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://www.cairographics.org/manual/cairo-Font-Options.html>

