The R Journal: article published in 2015, volume 7:1

showtext: Using System Fonts in R Graphics PDF download
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
CRAN packages: extrafont, showtext, knitr, Cairo, Rttf2pt1, sysfonts, RCurl, jsonlite, ggplot2, xkcd, RSvgDevice
CRAN Task Views implied by cited CRAN packages: Graphics, WebTechnologies, Phylogenetics, ReproducibleResearch

CC BY 4.0
This article is licensed under a Creative Commons Attribution 3.0 Unported license .

  author = {Yixuan Qiu},
  title = {{showtext: Using System Fonts in R Graphics}},
  year = {2015},
  journal = {{The R Journal}},
  doi = {10.32614/RJ-2015-008},
  url = {},
  pages = {99--108},
  volume = {7},
  number = {1}