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
DESCRIPTION |NEWS
card.svg |card.png
gdtools/json (API)

# 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 391 packages 423 scripts 192k downloads 18 mentions 30 exports 14 dependencies

Last updated from:70302e685a. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK157
linux-devel-x86_64OK151
source / vignettesOK239
linux-release-arm64OK158
linux-release-x86_64OK154
macos-release-arm64OK102
macos-release-x86_64OK197
macos-oldrel-arm64OK106
macos-oldrel-x86_64OK301
windows-develOK134
windows-releaseOK173
windows-oldrelOK169
wasm-releaseOK150

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