Skip to content
Browse files

Change default theme font from Helvetica back to ""

This fixes warnings on computers without Helvetica
  • Loading branch information...
1 parent 58a0114 commit c6bc17e60de23a887262ddb3f8f486d58ac1844f @wch wch committed Aug 29, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 R/theme-defaults.r
  2. +1 −1 man/theme_bw.Rd
  3. +1 −1 man/theme_grey.Rd
View
4 R/theme-defaults.r
@@ -4,7 +4,7 @@
#' @param base_family base font family
#' @aliases theme_gray theme_grey
#' @export theme_gray theme_grey
-theme_grey <- function(base_size = 12, base_family = "Helvetica") {
+theme_grey <- function(base_size = 12, base_family = "") {
theme(
# Elements in this first block aren't used directly, but are inherited
# by others
@@ -66,7 +66,7 @@ theme_gray <- theme_grey
#' @param base_size base font size
#' @param base_family base font family
#' @export
-theme_bw <- function(base_size = 12, base_family = "Helvetica") {
+theme_bw <- function(base_size = 12, base_family = "") {
# Starts with theme_grey and then modify some parts
theme_grey(base_size = base_size, base_family = base_family) %+replace%
theme(
View
2 man/theme_bw.Rd
@@ -2,7 +2,7 @@
\alias{theme_bw}
\title{A theme with white background and black gridlines.}
\usage{
- theme_bw(base_size = 12, base_family = "Helvetica")
+ theme_bw(base_size = 12, base_family = "")
}
\arguments{
\item{base_size}{base font size}
View
2 man/theme_grey.Rd
@@ -3,7 +3,7 @@
\alias{theme_grey}
\title{A theme with grey background and white gridlines.}
\usage{
- theme_grey(base_size = 12, base_family = "Helvetica")
+ theme_grey(base_size = 12, base_family = "")
}
\arguments{
\item{base_size}{base font size}

0 comments on commit c6bc17e

Please sign in to comment.
Something went wrong with that request. Please try again.