Skip to content

Commit

Permalink
Fixed font shifting
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobpstein authored Dec 21, 2023
1 parent 0c1c435 commit 80f85fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/usaid_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 80f85fe

Please sign in to comment.