List system and registry fonts into a data.frame containing columns such as path, family, style, weight and italic.
Examples
sys_fonts()
#> # A tibble: 301 × 6
#> path index family style weight italic
#> <chr> <int> <chr> <chr> <ord> <lgl>
#> 1 /usr/share/fonts/type1/urw-base35/URWGothic… 0 URW G… Book… normal FALSE
#> 2 /usr/share/texmf/fonts/opentype/public/tex-… 0 TeX G… Bold… bold TRUE
#> 3 /usr/share/fonts/truetype/lato/Lato-ThinIta… 0 Lato Thin… normal TRUE
#> 4 /usr/share/fonts/truetype/liberation/Libera… 0 Liber… Bold bold FALSE
#> 5 /usr/share/fonts/type1/texlive-fonts-recomm… 0 Couri… Bold… bold TRUE
#> 6 /usr/share/fonts/truetype/lato/Lato-Semibol… 0 Lato Semi… semib… TRUE
#> 7 /usr/share/fonts/type1/urw-base35/NimbusMon… 0 Nimbu… Bold… bold TRUE
#> 8 /usr/share/fonts/truetype/liberation/Libera… 0 Liber… Bold bold FALSE
#> 9 /usr/share/texmf/fonts/opentype/public/tex-… 0 TeX G… Bold bold FALSE
#> 10 /usr/share/fonts/opentype/urw-base35/Nimbus… 0 Nimbu… Bold… bold TRUE
#> # ℹ 291 more rows