How to use a custom font in R with showtext and google fonts (CC262)

November 3, 2022 • PD Schloss • 1 min read

The best way to make your R visuals stand out from all the rest is to use a custom font. This can easily be done using the showtext R package with google fonts. Pat will show you how you can customize your fonts for the different text elements of your figure and webpage. The overall goal of this project is to highlight reproducible research practices using a number of tools. The specific output from this project will be a map-based visual that shows the level of drought across the globe. The website we generate in this episode can be found at


You can browse the state of the repository at the