gdtools: Utilities for Graphical Rendering and Fonts Management

Tools are provided to compute metrics of formatted strings and to check the availability of a font. Another set of functions is provided to support the collection of fonts from 'Google Fonts' in a cache. Their use is simple within 'R Markdown' documents and 'shiny' applications but also with graphic productions generated with the 'ggiraph', 'ragg' and 'svglite' packages or with tabular productions from the 'flextable' package.

Version: 0.3.7
Depends: R (≥ 4.0.0)
Imports: Rcpp (≥ 0.12.12), systemfonts (≥ 0.1.1), htmltools, gfonts, tools, curl, fontquiver (≥ 0.2.0)
LinkingTo: Rcpp
Suggests: testthat, methods
Published: 2024-03-05
DOI: 10.32614/CRAN.package.gdtools
Author: David Gohel [aut, cre], Hadley Wickham [aut], Lionel Henry [aut], Jeroen Ooms ORCID iD [aut], Yixuan Qiu [ctb], R Core Team [cph] (Cairo code from X11 device), ArData [cph], RStudio [cph]
Maintainer: David Gohel <david.gohel at>
License: GPL-3 | file LICENSE
NeedsCompilation: yes
SystemRequirements: cairo, freetype2, fontconfig
Materials: README NEWS
CRAN checks: gdtools results


Reference manual: gdtools.pdf


Package source: gdtools_0.3.7.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): gdtools_0.3.7.tgz, r-oldrel (arm64): gdtools_0.3.7.tgz, r-release (x86_64): gdtools_0.3.7.tgz, r-oldrel (x86_64): gdtools_0.3.7.tgz
Old sources: gdtools archive

Reverse dependencies:

Reverse imports: flextable, hrbrthemes, rvg
Reverse linking to: rvg
Reverse suggests: ggiraph, tsmp


Please use the canonical form to link to this page.