From 80f85fe3478a5c0fc3e5804d5fbc5072f58f7314 Mon Sep 17 00:00:00 2001 From: Jacob Patterson-Stein Date: Thu, 21 Dec 2023 15:10:27 -0500 Subject: [PATCH] Fixed font shifting --- R/usaid_plot.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/usaid_plot.R b/R/usaid_plot.R index efa01bf..bc30e46 100644 --- a/R/usaid_plot.R +++ b/R/usaid_plot.R @@ -18,9 +18,9 @@ #' } usaid_plot <- function(data_type = "discrete", ppt = FALSE) { - is_mac <- tolower(Sys.info()[['sysname']]) == "darwin" + is_windows <- tolower(Sys.info()[['sysname']]) == "windows" - font_family <- if (is_mac) "Gill Sans" else "Gill Sans MT" + font_family <- if (is_windows) "Gill Sans MT" else "Gill Sans" theme_settings <- ggplot2::theme( legend.position = "NA",