showtext: Using System Fonts in R Graphics
Yixuan Qiu
, The R Journal (2015) 7:1, pages 99-108.
Abstract This article introduces the showtext package that makes it easy to use system fonts in R graphics. Unlike other methods to embed fonts into graphics, showtext converts text into raster images or polygons, and then adds them to the plot canvas. This method produces platform-independent image files that do not rely on the fonts that create them. It supports a large number of font formats and R graphics devices, and meanwhile provides convenient features such as using web fonts and integrating with knitr. This article provides an elaborate introduction to the showtext package, including its design, usage, and examples.
Received: 2014-10-26; online 2015-05-29@article{RJ-2015-008, author = {Yixuan Qiu}, title = {{showtext: Using System Fonts in R Graphics}}, year = {2015}, journal = {{The R Journal}}, doi = {10.32614/RJ-2015-008}, url = {https://doi.org/10.32614/RJ-2015-008}, pages = {99--108}, volume = {7}, number = {1} }