The google_font()
helper function can be used wherever a font name should
be specified. There are two instances where this helper can be used: the
name
argument in opt_table_font()
(for setting a table font) and in that
of cell_text()
(used with tab_style()
). Because there is an overwhelming
number of fonts available in the Google Fonts catalog, the
info_google_fonts()
provides a table with a set of helpful font
recommendations. These fonts look great in the different parts of a gt
table. Why? For the most part they are suitable for body text, having large
counters, large x-height, reasonably low contrast, and open apertures. These
font features all make for high legibility at smaller sizes.
See also
Other information functions:
info_currencies()
,
info_date_style()
,
info_flags()
,
info_icons()
,
info_locales()
,
info_paletteer()
,
info_time_style()
,
info_unit_conversions()