Package: gdtools 0.4.1

David Gohel

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.

Authors:David Gohel [aut, cre], Hadley Wickham [aut], Lionel Henry [aut], Jeroen Ooms [aut], Yixuan Qiu [ctb], R Core Team [cph], ArData [cph], RStudio [cph]

gdtools_0.4.1.tar.gz
gdtools_0.4.1.tar.gz(r-4.5-noble)gdtools_0.4.1.tar.gz(r-4.4-noble)
gdtools_0.4.1.tgz(r-4.4-emscripten)gdtools_0.4.1.tgz(r-4.3-emscripten)
gdtools.pdf |gdtools.html
gdtools/json (API)
NEWS

# Install 'gdtools' in R:
install.packages('gdtools', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/davidgohel/gdtools/issues

Pkgdown site:https://davidgohel.github.io

Uses libs:
  • cairo– Cairo 2D vector graphics library
  • freetype– FreeType 2 font engine
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cairofreetypecpp

7.70 score 146 packages 76k downloads 18 mentions 27 exports 15 dependencies

Last updated 4 months agofrom:4dd4907adf. Checks:3 OK. Indexed: no.

TargetResultLatest binary
Doc / VignettesOKMar 05 2025
R-4.5-linux-x86_64OKMar 05 2025
R-4.4-linux-x86_64OKMar 05 2025

Exports:addGFontHtmlDependencycheck_gfontsdummy_setupfont_family_existsfontconfig_reinitfonts_cache_dirgfontHtmlDependencyglyphs_matchinit_fonts_cacheinstall_gfont_scriptinstalled_gfontsliberationsansHtmlDependencym_str_extentsmatch_familyraster_strraster_viewraster_writeregister_gfontregister_liberationsansrm_fonts_cacheset_dummy_confstr_extentsstr_metricssys_fontsunset_dummy_confversion_cairoversion_freetype

Dependencies:base64encclicpp11digestfastmapfontBitstreamVerafontLiberationfontquivergluehtmltoolsjsonlitelifecycleRcpprlangsystemfonts