Package: gdtools 0.5.2

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.2.tar.gz
gdtools_0.5.2.zip(r-4.7-x86_64)gdtools_0.5.2.zip(r-4.7-arm64)gdtools_0.5.2.zip(r-4.6-x86_64)gdtools_0.5.2.zip(r-4.6-arm64)gdtools_0.5.2.zip(r-4.5-x86_64)
gdtools_0.5.2.tgz(r-4.6-x86_64)gdtools_0.5.2.tgz(r-4.6-arm64)gdtools_0.5.2.tgz(r-4.5-x86_64)gdtools_0.5.2.tgz(r-4.5-arm64)
gdtools_0.5.2.tar.gz(r-4.7-arm64)gdtools_0.5.2.tar.gz(r-4.7-x86_64)gdtools_0.5.2.tar.gz(r-4.6-arm64)gdtools_0.5.2.tar.gz(r-4.6-x86_64)
gdtools_0.5.2.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

13.66 score 31 stars 422 packages 312 scripts 154k downloads 18 mentions 31 exports 14 dependencies

Last updated from:73eee055a8. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK128
linux-devel-x86_64OK130
source / vignettesOK230
linux-release-arm64OK157
linux-release-x86_64OK127
macos-release-arm64OK135
macos-release-x86_64OK275
macos-oldrel-arm64OK129
macos-oldrel-x86_64OK357
windows-devel-arm64OK260
windows-devel-x86_64OK260
windows-release-arm64OK274
windows-release-x86_64OK120
windows-oldrel-x86_64OK207
wasm-releaseOK115

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_fontssys_fonts_resetversion_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
Refresh the list of system fontssys_fonts_reset
Version numbers of C librariesversion_cairo version_freetype