R/zzz.R

.db <- new.env()
.db$fonts <- NULL

.allWeights <- NULL

.onLoad <- function(libname, pkgname){
  if (is.null(.db$fonts)) {
    .db$fonts <<- as.environment(.fontList)
  }
}
arbelt/azwmisc.fonts documentation built on May 10, 2019, 12:48 p.m.