Skip to contents

Registers fonts contained in {emwthemes} with register_font. This function is called when the package is loaded.

Usage

load_pkg_fonts(verbose = TRUE)

Arguments

verbose

Whether the newly registered fonts should be printed to the console. Defaults to TRUE.

Details

All styles of a font family are registered as the Regular member of their own families in the form of "{family}-{style(s)}".

Call registry_fonts after loading the fonts for a list of loaded fonts. Note also that displaying the font in ggplot2 objects in rmd or quarto requires showtext_auto in the code chunk. If saving with ggsave, run showtext_opts(dpi=300).

Fonts loaded

Permanent Marker

Google font, from https://fonts.google.com/specimen/Permanent+Marker.

Gagalin

Open source font https://www.dafontfree.co/gagalin-font/.

MonoLisaemw

Monospace font https://www.monolisa.dev/.

IBM Plex Sans

Google font, from https://fonts.google.com/specimen/IBM+Plex+Sans.

SuperCorn

Open source font https://www.dafont.com/super-corn.font.

Newsreader

Google font, from https://fonts.google.com/specimen/Newsreader.