gdtools

Font Metrics and Font Management Utilities for R Graphics

Compute text metrics (width, ascent, descent) using 'Cairo' and 'FreeType', independently of the active graphic device. Font lookup is delegated to 'systemfonts'. Additional utilities let users register 'Google Fonts' or bundled 'Liberation' fonts, check font availability, and assemble 'htmlDependency' objects so that fonts are correctly embedded in 'Shiny' applications, 'R Markdown' documents, and 'htmlwidgets' outputs such as 'ggiraph'.

Tests Vignettes

Available Snapshots

This version of gdtools can be found in the following snapshots:

Dependencies

Imports/Depends/LinkingTo/Enhances (6)
  • R
  • Rcpp
  • fontquiver >= 0.2.0
  • htmltools
  • Rcpp >= 0.12.12
  • systemfonts >= 1.3.1
  • Suggests (3)
  • curl
  • gfonts
  • testthat
  • Version History