From 9ad8c63802d6daf5b12c1b598c947d533ff0ef97 Mon Sep 17 00:00:00 2001 From: Xavier A Date: Tue, 20 Jul 2021 11:04:23 +0200 Subject: [PATCH] Update econ-sans.R This is a draft/reminder to update the code for Econ Sans: current version is a copy/paste of Roboto, which creates misguiding documentation. Problems: - I could not find an official source regarding license. - I did not step in with an opinionated review of Econ Sans. --- R/econ-sans.R | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/R/econ-sans.R b/R/econ-sans.R index 81f21e5..f5f3054 100644 --- a/R/econ-sans.R +++ b/R/econ-sans.R @@ -10,8 +10,7 @@ #' #' @md #' @section Why Econ Sans Condensed?: -#' It's free, has tolerable kerning pairs and multiple weights. It's also different -#' than Arial Narrow and the fonts most folks use in ggplot2 charts. +#' #' #' @md #' @param base_family,base_size base font family and size @@ -190,9 +189,10 @@ theme_ipsum_es <- function( } -#' Import Roboto Condensed font for use in charts +#' Import Econ Sans Condensed font for use in charts #' -#' Roboto Condensed is a trademark of Google. +#' Econ Sans Condensed is a trademark of The Economist and distributed under the +#' [Non commercial license](https://en.m.fontke.com/font/17459412/detail/).. #' #' There is an option `hrbrthemes.loadfonts` which -- if set to `TRUE` -- will #' call `extrafont::loadfonts()` to register non-core fonts with R PDF & PostScript