set default font for geom_text
Change-Id: Ie36d0dc179a473c59c3cf88c5b0d9fc4fa84d036
diff --git a/Changelog.md b/Changelog.md
index aad7128..cf4395b 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -2,6 +2,7 @@
## 0.5.900
* decrease ggplot2 base_size from 12 to 10
+* set default font for geom_text
## 0.4.900
* decrease ggplot2 base_size from 14 to 12
diff --git a/R/ggplot-theme.R b/R/ggplot-theme.R
index 7db58bd..d95daab 100644
--- a/R/ggplot-theme.R
+++ b/R/ggplot-theme.R
@@ -76,6 +76,7 @@
panel.grid.major.y = element_line(colour = lowContrastColorDark),
legend.title = element_text(colour = textColorDark)))
}
+ update_geom_defaults("text", list(size = 3, family = base_family))
ret
}