瀏覽代碼

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

tags/v0.3.0
Garrick Aden-Buie 6 年之前
父節點
當前提交
d358596c70
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      R/ggplot2.R

+ 1
- 1
R/ggplot2.R 查看文件

@@ -673,7 +673,7 @@ register_font <- function(
"Yanone Kaffeesatz"
)
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) {
tryCatch(
{

Loading…
取消
儲存