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 four device-independent font
     family names: '"sans"' for a sans-serif font, '"serif"' for a
     serif font, '"mono"' for a monospaced font, and '"symbol"' for a
     symbol font.

_S_e_e _A_l_s_o:

     'quartz'

_E_x_a_m_p_l_e_s:

     quartzFonts()
     quartzFonts("mono")

