Custom fonts and plot quality with ggplot on Windows

Graphics devices are weird, and operating systems are even weirder. If you are a Mac of Linux user, lucky you, you can go on your merry way! But if you’re a Windows user and you’ve ever screamed at your computer “Why the #&*$ wont my fonts work!?!?” or “Why are my plots so &#**ing pixelated!?!”, then read on. Note this is accurate as of May 2019. There is a lot of development happening on ggplot and graphics in R, courtesy of Thomas Lin Pederson and the rest of the ggplot team.