소스 검색

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…
취소
저장