List all fonts installed on your system
system_fonts()
A data frame with a row for each font and various information in each column
# See all monospace fonts
fonts <- system_fonts()
fonts[fonts$monospace, ]
#> # A tibble: 44 × 9
#> path index name family style weight width italic monospace
#> <chr> <int> <chr> <chr> <chr> <ord> <ord> <lgl> <lgl>
#> 1 /usr/share/fonts/true… 0 Ubun… Ubunt… Bold… bold norm… TRUE TRUE
#> 2 /usr/share/fonts/true… 0 Free… FreeM… Regu… normal norm… FALSE TRUE
#> 3 /usr/share/fonts/type… 0 Nimb… Nimbu… Bold… bold norm… TRUE TRUE
#> 4 /usr/share/fonts/true… 0 Libe… Liber… Bold bold norm… FALSE TRUE
#> 5 /usr/share/fonts/true… 0 Libe… Liber… Bold… bold norm… TRUE TRUE
#> 6 /usr/share/fonts/X11/… 0 Cour… Couri… Ital… normal norm… TRUE TRUE
#> 7 /usr/share/fonts/open… 0 Nimb… Nimbu… Regu… normal norm… FALSE TRUE
#> 8 /usr/share/fonts/true… 0 Libe… Liber… Ital… normal norm… TRUE TRUE
#> 9 /usr/share/fonts/true… 0 Libe… Liber… Bold bold norm… FALSE TRUE
#> 10 /usr/share/fonts/true… 0 Libe… Liber… Regu… normal norm… FALSE TRUE
#> # ℹ 34 more rows