Skip to content

Add better guidance on font selection to docs #6457

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 19, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion R/theme-elements.R
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ element_line <- function(colour = NULL, linewidth = NULL, linetype = NULL,
}


#' @param family Font family
#' @param family The typeface to use. The validity of this value will depend on
#' the graphics device being used for rendering the plot. See
#' [the systemfonts vignette](https://systemfonts.r-lib.org/articles/systemfonts.html)
#' for guidance on the best way to access fonts installed on your computer.
#' @param face Font face ("plain", "italic", "bold", "bold.italic")
#' @param hjust Horizontal justification (in \eqn{[0, 1]})
#' @param vjust Vertical justification (in \eqn{[0, 1]})
Expand Down
5 changes: 4 additions & 1 deletion man/element.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/guide_bins.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/guide_colourbar.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/guide_coloursteps.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion man/guide_custom.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions man/hmisc.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading