Quellcode durchsuchen

Don't register default fonts with google if `google` is explicitly FALSE

tags/v0.3.0
Garrick Aden-Buie vor 6 Jahren
Ursprung
Commit
d358596c70
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      R/ggplot2.R

+ 1
- 1
R/ggplot2.R Datei anzeigen

"Yanone Kaffeesatz" "Yanone Kaffeesatz"
) )
font_found <- family %in% sysfonts::font_families() font_found <- family %in% sysfonts::font_families()
is_google_font <- identical(google, TRUE) || is_default_font
is_google_font <- identical(google, TRUE) || (missing(google) && is_default_font)
if (is_google_font) { if (is_google_font) {
tryCatch( tryCatch(
{ {

Laden…
Abbrechen
Speichern