List all fonts installed on your system

system_fonts()

Value

A data frame with a row for each font and various information in each column

Examples

# See all monospace fonts
fonts <- system_fonts()
fonts[fonts$monospace, ]
#> # A tibble: 48 × 10
#>    path          index name  family style weight width italic monospace variable
#>    <chr>         <int> <chr> <chr>  <chr> <ord>  <ord> <lgl>  <lgl>     <lgl>   
#>  1 /usr/share/f…     0 "Nim… Nimbu… "Bol… bold   norm… TRUE   TRUE      FALSE   
#>  2 /usr/share/f…     0 "Lib… Liber… "Bol… bold   norm… FALSE  TRUE      FALSE   
#>  3 /usr/share/f…     0 "Cou… Couri… "Ita… normal norm… TRUE   TRUE      FALSE   
#>  4 /usr/share/f…     0 "Nim… Nimbu… "Reg… normal norm… FALSE  TRUE      FALSE   
#>  5 /usr/share/f…     0 "Lib… Liber… "Ita… normal norm… TRUE   TRUE      FALSE   
#>  6 /usr/share/f…     0 ""    Ubunt… ""    thin   norm… TRUE   TRUE      TRUE    
#>  7 /usr/share/f…     0 "Ubu… Ubunt… "Ita… normal norm… TRUE   TRUE      FALSE   
#>  8 /usr/share/f…     0 "Ubu… Ubunt… "Med… medium norm… FALSE  TRUE      FALSE   
#>  9 /usr/share/f…     0 "Ubu… Ubunt… "Med… medium norm… FALSE  TRUE      FALSE   
#> 10 /usr/share/f…     0 "Not… Noto … "Reg… normal norm… FALSE  TRUE      FALSE   
#> # ℹ 38 more rows