quartzFonts            package:grDevices            R Documentation

_q_u_a_r_t_z _F_o_n_t_s

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

     These functions handle the translation of a device-independent R
     graphics font family name to a quartz font description.

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

     quartzFont(family)

     quartzFonts(...)           

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

  family: a character vector containing the four PostScript font names
          for plain, bold, italic, and bolditalic versions of a font
          family.

     ...: either character strings naming mappings to display, or new
          (named) mappings to define.

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

     A quartz device is created with a default font (see the
     documentation for 'quartz'), but it is also possible to specify a
     font family when drawing to the device (for example, see the
     documentation for 'gpar' in the grid package).

     The font family sent to the device is a simple string name, which
     must be mapped to something more specific to quartz fonts.  A list
     of mappings is maintained and can be modified by the user.

     The 'quartzFonts' function can be used to list existing mappings
     and to define new mappings.  The 'quartzFont' function can be used
     to create a new mapping.

     Default mappings are provided for three device-independent font
     family names: '"sans"' for a sans-serif font, '"serif"' for a
     serif font and '"mono"' for a monospaced font.

_S_e_e _A_l_s_o:

     'quartz'

_E_x_a_m_p_l_e_s:

     quartzFonts()
     quartzFonts("mono")

