The function will search the system for availability of any of the World Bank
fonts in heirarchical order starting with Andes, and then Arial. If
none of these are found in the system, the function will return Noto Sans
by default or the user can set which font to use as alternative by specifying
alt
.
Usage
wb_fonts
set_wb_font(alt = paleta_fonts$paleta_noto)
An object of class list
of length 2.
Arguments
- alt
A character value for font family to use if all of the World Bank
fonts are not available in the system.
Value
A character value for font family to use as World Bank font.
Examples
wb_fonts
#> $wb_andes
#> [1] "Andes"
#>
#> $wb_arial
#> [1] "Arial"
#>
set_wb_font()
#> [1] "Noto Sans"