R/zzz.R

Defines functions .onUnload .onLoad

.onLoad = function(libname, pkgname) {
    # library.dynam("sysfonts", pkgname, libname)
    add_default_font_paths()
    add_default_fonts()
}

.onUnload = function(libpath) {
    clean_fonts()
    library.dynam.unload("sysfonts", libpath)
}

Try the sysfonts package in your browser

Any scripts or data that you put into this service are public.

sysfonts documentation built on May 29, 2024, 9:42 a.m.