Package: gdtools 0.5.1

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'.

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.5.1.tar.gz
gdtools_0.5.1.zip(r-4.7)gdtools_0.5.1.zip(r-4.6)gdtools_0.5.1.zip(r-4.5)
gdtools_0.5.1.tgz(r-4.6-x86_64)gdtools_0.5.1.tgz(r-4.6-arm64)gdtools_0.5.1.tgz(r-4.5-x86_64)gdtools_0.5.1.tgz(r-4.5-arm64)
gdtools_0.5.1.tar.gz(r-4.7-arm64)gdtools_0.5.1.tar.gz(r-4.7-x86_64)gdtools_0.5.1.tar.gz(r-4.6-arm64)gdtools_0.5.1.tar.gz(r-4.6-x86_64)
gdtools_0.5.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
gdtools/json (API)
NEWS

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

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

Pkgdown/docs 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

14.00 score 29 stars 390 packages 428 scripts 215k downloads 18 mentions 30 exports 14 dependencies

Last updated from:33ea16d091. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK185
linux-devel-x86_64OK172
source / vignettesOK228
linux-release-arm64OK132
linux-release-x86_64OK149
macos-release-arm64OK109
macos-release-x86_64OK273
macos-oldrel-arm64OK90
macos-oldrel-x86_64OK277
windows-develOK138
windows-releaseOK143
windows-oldrelOK158
wasm-releaseOK121

Exports:addGFontHtmlDependencycheck_gfontsdummy_setupfont_family_existsfont_googlefont_liberationfont_setfont_set_autofont_set_liberationfonts_cache_dirgfontHtmlDependencyinit_fonts_cacheinstall_gfont_scriptinstalled_gfontsliberationmonoHtmlDependencyliberationsansHtmlDependencyliberationserifHtmlDependencym_str_extentsmatch_familyregister_gfontregister_liberationmonoregister_liberationsansregister_liberationserifrm_fonts_cacheset_dummy_confstr_metricsstrings_sizessys_fontsversion_cairoversion_freetype

Dependencies:base64encclicpp11digestfastmapfontBitstreamVerafontLiberationfontquiverhtmltoolsjsonlitelifecycleRcpprlangsystemfonts

Readme and manuals

Help Manual

Help pageTopics
Use a Font in Shiny or MarkdownaddGFontHtmlDependency
Check if font family exists.font_family_exists
Google Font specificationfont_google
Liberation Font specificationfont_liberation
Create a font setfont_set
Automatic font setfont_set_auto
Liberation font setfont_set_liberation
Manage Font Working Directoryfonts_cache_dir init_fonts_cache rm_fonts_cache
'Google Font' HTML dependencygfontHtmlDependency
Shell command to install a font from 'Google Fonts'install_gfont_script
List installed 'Google Fonts'installed_gfonts
'Liberation Mono' Font HTML dependencyliberationmonoHtmlDependency
'Liberation Sans' Font HTML dependencyliberationsansHtmlDependency
'Liberation Serif' Font HTML dependencyliberationserifHtmlDependency
Register a 'Google Font'register_gfont
Register font 'Liberation Mono'register_liberationmono
Register font 'Liberation Sans'register_liberationsans
Register font 'Liberation Serif'register_liberationserif
Compute strings sizesstrings_sizes
List fonts for 'systemfonts'.sys_fonts
Version numbers of C librariesversion_cairo version_freetype