Skip to content

Commit

Permalink
remove google font support,
Browse files Browse the repository at this point in the history
  • Loading branch information
GuangchuangYu committed Apr 1, 2019
1 parent 06402f5 commit 8c4d25d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/sticker.R
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ load_font <- function(family) {
if (any(i)) {
font_add(family, fonts[which(i)[1]])
showtext_auto()
} else {
sysfonts::font_add_google(name = family, family = family)
}
} # else {
# sysfonts::font_add_google(name = family, family = family)
# }
return(family)
}

Expand Down

0 comments on commit 8c4d25d

Please sign in to comment.