Skip to content

Commit bec2834

Browse files
committed
add note on default family names
1 parent 6eae9de commit bec2834

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

R/theme-elements.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ element_line <- function(colour = NULL, linewidth = NULL, linetype = NULL,
135135
#' the graphics device being used for rendering the plot. See
136136
#' [the systemfonts vignette](https://systemfonts.r-lib.org/articles/systemfonts.html)
137137
#' for guidance on the best way to access fonts installed on your computer.
138+
#' The values `"sans"`, `"serif"`, and `"mono"` should always be valid and
139+
#' will select the default typeface for the respective styles. However, what
140+
#' is considered default is dependant on the graphics device and the operating
141+
#' system.
138142
#' @param face Font face ("plain", "italic", "bold", "bold.italic")
139143
#' @param hjust Horizontal justification (in \eqn{[0, 1]})
140144
#' @param vjust Vertical justification (in \eqn{[0, 1]})

man/element.Rd

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)