Skip to content

Commit

Permalink
knock out finding font path
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismainey committed Jan 13, 2025
1 parent e969639 commit 91315cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/aaa_globals.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
# global variables are defined in this file. the file has been named such that
# it will be executed before any other file
.onLoad <- function(libname, pkgname){
sysfonts::font_paths()

#sysfonts::font_paths()
sysfonts::font_add_google("Open Sans", "Open Sans")
sysfonts::font_add("Arial", "arial.ttf", "arialbd.ttf", "ariali.ttf", "arialbi.ttf")
sysfonts::font_add("Calibri", "calibri.ttf", "calibrib.ttf", "calibrii.ttf", "calibriz.ttf")
Expand Down

0 comments on commit 91315cc

Please sign in to comment.